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 ArchivedScErrorwhere
<__C as Fallible>::Error: Source,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedScErrorwhere
<__C as Fallible>::Error: Source,
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