Struct
ArchivedShaSetContext
#[repr(C)]pub struct ArchivedShaSetContext{
pub context_id: <Option<usize> as Archive>::Archived,
pub algo: <ShaAlgo as Archive>::Archived,
pub hash_state: <[u8; 64] as Archive>::Archived,
}Expand description
An archived ShaSetContext
Fields
context_id: <Option<usize> as Archive>::ArchivedThe archived counterpart of ShaSetContext::context_id
algo: <ShaAlgo as Archive>::ArchivedThe archived counterpart of ShaSetContext::algo
hash_state: <[u8; 64] as Archive>::ArchivedThe archived counterpart of ShaSetContext::hash_state
Trait Implementations
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedShaSetContext
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedShaSetContext
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