Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Struct

ArchivedLockout

#[repr(C)]
pub struct ArchivedLockout
where LockoutOptions: Archive, bool: Archive,
{ pub lockout_options: <LockoutOptions as Archive>::Archived, pub reboot: <bool as Archive>::Archived, }
Expand description

An archived Lockout

Fields

lockout_options: <LockoutOptions as Archive>::Archived

The archived counterpart of Lockout::lockout_options

reboot: <bool as Archive>::Archived

The archived counterpart of Lockout::reboot

Trait Implementations

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedLockout
where 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>

Checks whether the given pointer points to a valid value within the given context. Read more

impl Portable for ArchivedLockout
where LockoutOptions: Archive, bool: Archive, <LockoutOptions as Archive>::Archived: Portable, <bool as Archive>::Archived: Portable,

Auto Trait Implementations

impl Freeze for ArchivedLockout

impl RefUnwindSafe for ArchivedLockout

impl Send for ArchivedLockout

impl Sync for ArchivedLockout

impl Unpin for ArchivedLockout

impl UnsafeUnpin for ArchivedLockout

impl UnwindSafe for ArchivedLockout