#[repr(u8)]pub enum ArchivedAppEventwhere
WithAppId: ArchiveWith<AppId>,
PID: Archive,
u32: Archive,
Option<String>: Archive,
LaunchError: Archive,{
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,
},
}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
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAppEventwhere
WithAppId: ArchiveWith<AppId>,
PID: Archive,
u32: Archive,
Option<String>: Archive,
LaunchError: Archive,
<__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>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedAppEventwhere
WithAppId: ArchiveWith<AppId>,
PID: Archive,
u32: Archive,
Option<String>: Archive,
LaunchError: Archive,
<__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>,
impl Portable for ArchivedAppEventwhere
WithAppId: ArchiveWith<AppId>,
PID: Archive,
u32: Archive,
Option<String>: Archive,
LaunchError: Archive,
<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,
Auto Trait Implementations§
impl Freeze for ArchivedAppEvent
impl RefUnwindSafe for ArchivedAppEvent
impl Send for ArchivedAppEvent
impl Sync for ArchivedAppEvent
impl !Unpin for ArchivedAppEvent
impl UnwindSafe for ArchivedAppEvent
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§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>
Returns the layout of the type.