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

Enum

ArchivedThirdPartyCertificateError

#[repr(u8)]
pub enum ArchivedThirdPartyCertificateError
where u64: Archive,
{ Invalid, Expired { not_after_unix_seconds: <u64 as Archive>::Archived, }, NotYetValid { not_before_unix_seconds: <u64 as Archive>::Archived, }, FingerprintMismatch, Internal, }
Expand description

Variants

Invalid

The archived counterpart of ThirdPartyCertificateError::Invalid

Expired

The archived counterpart of ThirdPartyCertificateError::Expired

Fields

not_after_unix_seconds: <u64 as Archive>::Archived

NotYetValid

The archived counterpart of ThirdPartyCertificateError::NotYetValid

Fields

not_before_unix_seconds: <u64 as Archive>::Archived

FingerprintMismatch

Internal

The archived counterpart of ThirdPartyCertificateError::Internal

Trait Implementations

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

Auto Trait Implementations