Enum
LaunchFailureReason
pub enum LaunchFailureReason {
SignatureRejected,
NoCertificate,
PublisherCertificateExpired,
PublisherCertificateNotYetActive,
KeyOsVersionTooOld,
Internal,
RunningKeyOsVersionUnavailable,
}Expand description
Reason an app launch failed. Carries enough information for the SDK / UI to pick a useful follow-up (import a cert, enable developer mode, restart, …) instead of just printing a generic “launch failed” message.
Variants
SignatureRejected
App is signed by a key not in the allowed set.
NoCertificate
No matching allowed-publisher certificate is installed, so this third-party app cannot launch.
PublisherCertificateExpired
The matching publisher certificate’s validity window has passed.
PublisherCertificateNotYetActive
The matching publisher certificate’s validity window has not started yet.
KeyOsVersionTooOld
The app requires a newer KeyOS release.
Internal
Anything else: app-manager-internal failure, IPC failure, etc.
The running KeyOS version could not be determined, so compatibility cannot be checked.
Trait Implementations
impl Archive for LaunchFailureReason
impl Archive for LaunchFailureReason
type Archived = ArchivedLaunchFailureReason
type Archived = ArchivedLaunchFailureReason
type Resolver = LaunchFailureReasonResolver
type Resolver = LaunchFailureReasonResolver
fn resolve(
&self,
resolver: <Self as Archive>::Resolver,
out: Place<<Self as Archive>::Archived>,
)
fn resolve( &self, resolver: <Self as Archive>::Resolver, out: Place<<Self as Archive>::Archived>, )
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
serialize. Read moreimpl Clone for LaunchFailureReason
impl Clone for LaunchFailureReason
fn clone(&self) -> LaunchFailureReason
fn clone(&self) -> LaunchFailureReason
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Debug for LaunchFailureReason
impl Debug for LaunchFailureReason
impl<__D: Fallible + ?Sized> Deserialize<LaunchFailureReason, __D> for Archived<LaunchFailureReason>
impl<__D: Fallible + ?Sized> Deserialize<LaunchFailureReason, __D> for Archived<LaunchFailureReason>
fn deserialize(
&self,
deserializer: &mut __D,
) -> Result<LaunchFailureReason, <__D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<LaunchFailureReason, <__D as Fallible>::Error>
impl PartialEq for LaunchFailureReason
impl PartialEq for LaunchFailureReason
fn eq(&self, other: &LaunchFailureReason) -> bool
fn eq(&self, other: &LaunchFailureReason) -> bool
self and other values to be equal, and is used by ==.1.0.0fn ne(&self, other: &Rhs) -> bool
fn ne(&self, other: &Rhs) -> bool
!=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.