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

Enum

ArchivedDirection

#[repr(u8)]
pub enum ArchivedDirection { Encrypt = 0, Decrypt = 1, }
Expand description

An archived Direction

Variants

Encrypt = 0

The archived counterpart of Direction::Encrypt

Decrypt = 1

The archived counterpart of Direction::Decrypt

Trait Implementations

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDirection
where <__C as Fallible>::Error: Source,

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 ArchivedDirection

Auto Trait Implementations

impl Freeze for ArchivedDirection

impl RefUnwindSafe for ArchivedDirection

impl Send for ArchivedDirection

impl Sync for ArchivedDirection

impl Unpin for ArchivedDirection

impl UnsafeUnpin for ArchivedDirection

impl UnwindSafe for ArchivedDirection