Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Enum

ArchivedAppEvent

#[repr(u8)]
pub enum ArchivedAppEvent
where WithAppId: ArchiveWith<AppId>, PID: Archive, u32: Archive, Option<String>: Archive, LaunchError: Archive, RemoveInstalledAppResult: Archive, Map<WithAppId>: ArchiveWith<Vec<AppId>>,
{ AppLaunching { app_id: <WithAppId as ArchiveWith<AppId>>::Archived, launched_by: <PID as Archive>::Archived, }, AppLaunched { app_id: <WithAppId as ArchiveWith<AppId>>::Archived, pid: <PID as Archive>::Archived, launched_by: <PID as Archive>::Archived, }, AppCrashed { app_id: <WithAppId as ArchiveWith<AppId>>::Archived, pid: <PID as Archive>::Archived, launched_by: <PID as Archive>::Archived, exit_code: <u32 as Archive>::Archived, panic_message: <Option<String> as Archive>::Archived, }, LaunchError { app_id: <WithAppId as ArchiveWith<AppId>>::Archived, error: <LaunchError as Archive>::Archived, launched_by: <PID as Archive>::Archived, }, AppRemoving { app_id: <WithAppId as ArchiveWith<AppId>>::Archived, }, AppRemovalFailed { app_id: <WithAppId as ArchiveWith<AppId>>::Archived, result: <RemoveInstalledAppResult as Archive>::Archived, }, AppSetChanged { installed: <Map<WithAppId> as ArchiveWith<Vec<AppId>>>::Archived, removed: <Map<WithAppId> as ArchiveWith<Vec<AppId>>>::Archived, }, AllowedPublishersChanged, }
Expand description

An archived AppEvent

Variants

AppLaunching

The archived counterpart of AppEvent::AppLaunching

Fields

app_id: <WithAppId as ArchiveWith<AppId>>::Archived

The archived counterpart of AppEvent::AppLaunching::app_id

launched_by: <PID as Archive>::Archived

The archived counterpart of AppEvent::AppLaunching::launched_by

AppLaunched

The archived counterpart of AppEvent::AppLaunched

Fields

app_id: <WithAppId as ArchiveWith<AppId>>::Archived

The archived counterpart of AppEvent::AppLaunched::app_id

pid: <PID as Archive>::Archived

The archived counterpart of AppEvent::AppLaunched::pid

launched_by: <PID as Archive>::Archived

The archived counterpart of AppEvent::AppLaunched::launched_by

AppCrashed

The archived counterpart of AppEvent::AppCrashed

Fields

app_id: <WithAppId as ArchiveWith<AppId>>::Archived

The archived counterpart of AppEvent::AppCrashed::app_id

pid: <PID as Archive>::Archived

The archived counterpart of AppEvent::AppCrashed::pid

launched_by: <PID as Archive>::Archived

The archived counterpart of AppEvent::AppCrashed::launched_by

exit_code: <u32 as Archive>::Archived

The archived counterpart of AppEvent::AppCrashed::exit_code

panic_message: <Option<String> as Archive>::Archived

The archived counterpart of AppEvent::AppCrashed::panic_message

LaunchError

The archived counterpart of AppEvent::LaunchError

Fields

app_id: <WithAppId as ArchiveWith<AppId>>::Archived

The archived counterpart of AppEvent::LaunchError::app_id

error: <LaunchError as Archive>::Archived

The archived counterpart of AppEvent::LaunchError::error

launched_by: <PID as Archive>::Archived

The archived counterpart of AppEvent::LaunchError::launched_by

AppRemoving

The archived counterpart of AppEvent::AppRemoving

Fields

app_id: <WithAppId as ArchiveWith<AppId>>::Archived

The archived counterpart of AppEvent::AppRemoving::app_id

AppRemovalFailed

The archived counterpart of AppEvent::AppRemovalFailed

Fields

app_id: <WithAppId as ArchiveWith<AppId>>::Archived

The archived counterpart of AppEvent::AppRemovalFailed::app_id

result: <RemoveInstalledAppResult as Archive>::Archived

The archived counterpart of AppEvent::AppRemovalFailed::result

AppSetChanged

The archived counterpart of AppEvent::AppSetChanged

Fields

installed: <Map<WithAppId> as ArchiveWith<Vec<AppId>>>::Archived

The archived counterpart of AppEvent::AppSetChanged::installed

removed: <Map<WithAppId> as ArchiveWith<Vec<AppId>>>::Archived

The archived counterpart of AppEvent::AppSetChanged::removed

AllowedPublishersChanged

The archived counterpart of AppEvent::AllowedPublishersChanged

Trait Implementations

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAppEvent
where WithAppId: ArchiveWith<AppId>, PID: Archive, u32: Archive, Option<String>: Archive, LaunchError: Archive, RemoveInstalledAppResult: Archive, Map<WithAppId>: ArchiveWith<Vec<AppId>>, <__C as Fallible>::Error: Source, <WithAppId as ArchiveWith<AppId>>::Archived: CheckBytes<__C>, <PID as Archive>::Archived: CheckBytes<__C>, <u32 as Archive>::Archived: CheckBytes<__C>, <Option<String> as Archive>::Archived: CheckBytes<__C>, <LaunchError as Archive>::Archived: CheckBytes<__C>, <RemoveInstalledAppResult as Archive>::Archived: CheckBytes<__C>, <Map<WithAppId> as ArchiveWith<Vec<AppId>>>::Archived: CheckBytes<__C>,

unsafe fn check_bytes( value: *const Self, context: &mut __C, ) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the given context. Read more

impl Portable for ArchivedAppEvent
where WithAppId: ArchiveWith<AppId>, PID: Archive, u32: Archive, Option<String>: Archive, LaunchError: Archive, RemoveInstalledAppResult: Archive, Map<WithAppId>: ArchiveWith<Vec<AppId>>, <WithAppId as ArchiveWith<AppId>>::Archived: Portable, <PID as Archive>::Archived: Portable, <u32 as Archive>::Archived: Portable, <Option<String> as Archive>::Archived: Portable, <LaunchError as Archive>::Archived: Portable, <RemoveInstalledAppResult as Archive>::Archived: Portable, <Map<WithAppId> as ArchiveWith<Vec<AppId>>>::Archived: Portable,

Auto Trait Implementations

impl Freeze for ArchivedAppEvent

impl RefUnwindSafe for ArchivedAppEvent

impl Send for ArchivedAppEvent

impl Sync for ArchivedAppEvent

impl !Unpin for ArchivedAppEvent

impl !UnsafeUnpin for ArchivedAppEvent

impl UnwindSafe for ArchivedAppEvent