#[repr(u8)]pub enum ArchivedAppEventwhere
WithAppId: ArchiveWith<AppId>,
PID: Archive,
u32: Archive,
Option<String>: Archive,
LaunchError: Archive,
Map<WithAppId>: ArchiveWith<Vec<AppId>>,{
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,
},
AppSetChanged {
installed: <Map<WithAppId> as ArchiveWith<Vec<AppId>>>::Archived,
removed: <Map<WithAppId> as ArchiveWith<Vec<AppId>>>::Archived,
},
}Expand description
An archived AppEvent
Variants§
AppLaunched
The archived counterpart of AppEvent::AppLaunched
Fields
app_id: <WithAppId as ArchiveWith<AppId>>::ArchivedThe archived counterpart of AppEvent::AppLaunched::app_id
pid: <PID as Archive>::ArchivedThe archived counterpart of AppEvent::AppLaunched::pid
launched_by: <PID as Archive>::ArchivedThe archived counterpart of AppEvent::AppLaunched::launched_by
AppCrashed
The archived counterpart of AppEvent::AppCrashed
Fields
app_id: <WithAppId as ArchiveWith<AppId>>::ArchivedThe archived counterpart of AppEvent::AppCrashed::app_id
pid: <PID as Archive>::ArchivedThe archived counterpart of AppEvent::AppCrashed::pid
launched_by: <PID as Archive>::ArchivedThe archived counterpart of AppEvent::AppCrashed::launched_by
exit_code: <u32 as Archive>::ArchivedThe archived counterpart of AppEvent::AppCrashed::exit_code
panic_message: <Option<String> as Archive>::ArchivedThe archived counterpart of AppEvent::AppCrashed::panic_message
LaunchError
The archived counterpart of AppEvent::LaunchError
Fields
app_id: <WithAppId as ArchiveWith<AppId>>::ArchivedThe archived counterpart of AppEvent::LaunchError::app_id
error: <LaunchError as Archive>::ArchivedThe archived counterpart of AppEvent::LaunchError::error
AppSetChanged
The archived counterpart of AppEvent::AppSetChanged
Fields
installed: <Map<WithAppId> as ArchiveWith<Vec<AppId>>>::ArchivedThe archived counterpart of AppEvent::AppSetChanged::installed
removed: <Map<WithAppId> as ArchiveWith<Vec<AppId>>>::ArchivedThe archived counterpart of AppEvent::AppSetChanged::removed