Struct
ArchivedHmac
#[repr(C)]pub struct ArchivedHmac{
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>::ArchivedThe archived counterpart of Hmac::algo
key: <Vec<u8> as Archive>::ArchivedThe archived counterpart of Hmac::key
data: <Vec<u8> as Archive>::ArchivedThe archived counterpart of Hmac::data
Trait Implementations
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedHmac
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedHmac
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