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

Enum

ArchivedScError

#[repr(u8)]
pub enum ArchivedScError { Ok = 0, InvalidMessageLength = 1, InvalidSignature = 3, DeadlineExpired = 4, UnknownChallenge = 6, InvalidBootloaderVersion = 7, }
Expand description

An archived ScError

Variants

Ok = 0

The archived counterpart of ScError::Ok

InvalidMessageLength = 1

The archived counterpart of ScError::InvalidMessageLength

InvalidSignature = 3

The archived counterpart of ScError::InvalidSignature

DeadlineExpired = 4

The archived counterpart of ScError::DeadlineExpired

UnknownChallenge = 6

The archived counterpart of ScError::UnknownChallenge

InvalidBootloaderVersion = 7

The archived counterpart of ScError::InvalidBootloaderVersion

Trait Implementations

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

Auto Trait Implementations

impl Freeze for ArchivedScError

impl RefUnwindSafe for ArchivedScError

impl Send for ArchivedScError

impl Sync for ArchivedScError

impl Unpin for ArchivedScError

impl UnsafeUnpin for ArchivedScError

impl UnwindSafe for ArchivedScError