Enum
ArchivedGuiServerError
#[repr(u8)]pub enum ArchivedGuiServerError{
InternalError,
XousError(<usize as Archive>::Archived),
Navigation(<NavigationError as Archive>::Archived),
CannotCloseEssentialApp,
AppNotFound,
AppAlreadyClosing,
}Expand description
An archived GuiServerError
Variants
InternalError
The archived counterpart of GuiServerError::InternalError
XousError(<usize as Archive>::Archived)
The archived counterpart of GuiServerError::XousError
Tuple Fields
0: <usize as Archive>::ArchivedThe archived counterpart of GuiServerError::XousError::0
The archived counterpart of GuiServerError::Navigation
CannotCloseEssentialApp
The archived counterpart of GuiServerError::CannotCloseEssentialApp
AppNotFound
The archived counterpart of GuiServerError::AppNotFound
AppAlreadyClosing
The archived counterpart of GuiServerError::AppAlreadyClosing
Trait Implementations
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGuiServerErrorwhere
usize: Archive,
NavigationError: Archive,
<__C as Fallible>::Error: Source,
<usize as Archive>::Archived: CheckBytes<__C>,
<NavigationError as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedGuiServerErrorwhere
usize: Archive,
NavigationError: Archive,
<__C as Fallible>::Error: Source,
<usize as Archive>::Archived: CheckBytes<__C>,
<NavigationError as Archive>::Archived: CheckBytes<__C>,
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>
Checks whether the given pointer points to a valid value within the
given context. Read more