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

Struct

ArchivedHmac

#[repr(C)]
pub struct ArchivedHmac
where ShaAlgo: Archive, Vec<u8>: Archive,
{ pub algo: <ShaAlgo as Archive>::Archived, pub key: <Vec<u8> as Archive>::Archived, pub data: <Vec<u8> as Archive>::Archived, }
Expand description

An archived Hmac

Fields

algo: <ShaAlgo as Archive>::Archived

The archived counterpart of Hmac::algo

key: <Vec<u8> as Archive>::Archived

The archived counterpart of Hmac::key

data: <Vec<u8> as Archive>::Archived

The archived counterpart of Hmac::data

Trait Implementations

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

Auto Trait Implementations

impl Freeze for ArchivedHmac

impl RefUnwindSafe for ArchivedHmac

impl Send for ArchivedHmac

impl Sync for ArchivedHmac

impl !Unpin for ArchivedHmac

impl !UnsafeUnpin for ArchivedHmac

impl UnwindSafe for ArchivedHmac