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

Struct

ArchivedOpenFlags

#[repr(C)]
pub struct ArchivedOpenFlags
where bool: Archive,
{ pub read: <bool as Archive>::Archived, pub write: <bool as Archive>::Archived, pub create: <bool as Archive>::Archived, }
Expand description

An archived OpenFlags

Fields

read: <bool as Archive>::Archived

The archived counterpart of OpenFlags::read

write: <bool as Archive>::Archived

The archived counterpart of OpenFlags::write

create: <bool as Archive>::Archived

The archived counterpart of OpenFlags::create

Trait Implementations

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedOpenFlags
where bool: Archive, <__C as Fallible>::Error: Trace, <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 ArchivedOpenFlags
where bool: Archive, <bool as Archive>::Archived: Portable,

Auto Trait Implementations

impl Freeze for ArchivedOpenFlags

impl RefUnwindSafe for ArchivedOpenFlags

impl Send for ArchivedOpenFlags

impl Sync for ArchivedOpenFlags

impl Unpin for ArchivedOpenFlags

impl UnsafeUnpin for ArchivedOpenFlags

impl UnwindSafe for ArchivedOpenFlags