Struct
ArchivedLockout
#[repr(C)]pub struct ArchivedLockout{
pub lockout_options: <LockoutOptions as Archive>::Archived,
pub reboot: <bool as Archive>::Archived,
}Expand description
An archived Lockout
Fields
lockout_options: <LockoutOptions as Archive>::ArchivedThe archived counterpart of Lockout::lockout_options
reboot: <bool as Archive>::ArchivedThe archived counterpart of Lockout::reboot
Trait Implementations
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedLockoutwhere
LockoutOptions: Archive,
bool: Archive,
<__C as Fallible>::Error: Trace,
<LockoutOptions as Archive>::Archived: CheckBytes<__C>,
<bool as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedLockoutwhere
LockoutOptions: Archive,
bool: Archive,
<__C as Fallible>::Error: Trace,
<LockoutOptions as Archive>::Archived: CheckBytes<__C>,
<bool 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