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