#[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§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedHmac
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedHmac
impl Portable for ArchivedHmac
Auto Trait Implementations§
impl Freeze for ArchivedHmac
impl RefUnwindSafe for ArchivedHmac
impl Send for ArchivedHmac
impl Sync for ArchivedHmac
impl !Unpin for ArchivedHmac
impl UnwindSafe for ArchivedHmac
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.