#[repr(u8)]pub enum ArchivedAppEventwhere
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>>::ArchivedThe archived counterpart of AppEvent::AppLaunching::app_id
launched_by: <PID as Archive>::ArchivedThe archived counterpart of AppEvent::AppLaunching::launched_by
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
launched_by: <PID as Archive>::ArchivedThe archived counterpart of AppEvent::LaunchError::launched_by
AppRemoving
The archived counterpart of AppEvent::AppRemoving
Fields
app_id: <WithAppId as ArchiveWith<AppId>>::ArchivedThe archived counterpart of AppEvent::AppRemoving::app_id
AppRemovalFailed
The archived counterpart of AppEvent::AppRemovalFailed
Fields
app_id: <WithAppId as ArchiveWith<AppId>>::ArchivedThe archived counterpart of AppEvent::AppRemovalFailed::app_id
result: <RemoveInstalledAppResult as Archive>::ArchivedThe archived counterpart of AppEvent::AppRemovalFailed::result
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
AllowedPublishersChanged
The archived counterpart of AppEvent::AllowedPublishersChanged
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAppEventwhere
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>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAppEventwhere
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>,
Source§unsafe fn check_bytes(
value: *const Self,
context: &mut __C,
) -> Result<(), <__C as Fallible>::Error>
unsafe fn check_bytes( value: *const Self, context: &mut __C, ) -> Result<(), <__C as Fallible>::Error>
impl Portable for ArchivedAppEventwhere
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
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.