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

Struct

ArchivedShaContextSnapshot

#[repr(C)]
pub struct ArchivedShaContextSnapshot
where ShaAlgo: Archive, [u8; 64]: Archive,
{ pub algo: <ShaAlgo as Archive>::Archived, pub hash_state: <[u8; 64] as Archive>::Archived, }
Expand description

An archived ShaContextSnapshot

Fields

algo: <ShaAlgo as Archive>::Archived

The archived counterpart of ShaContextSnapshot::algo

hash_state: <[u8; 64] as Archive>::Archived

The archived counterpart of ShaContextSnapshot::hash_state

Trait Implementations

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedShaContextSnapshot
where ShaAlgo: Archive, [u8; 64]: Archive, <__C as Fallible>::Error: Trace, <ShaAlgo as Archive>::Archived: CheckBytes<__C>, <[u8; 64] 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 ArchivedShaContextSnapshot
where ShaAlgo: Archive, [u8; 64]: Archive, <ShaAlgo as Archive>::Archived: Portable, <[u8; 64] as Archive>::Archived: Portable,

Auto Trait Implementations

impl Freeze for ArchivedShaContextSnapshot

impl RefUnwindSafe for ArchivedShaContextSnapshot

impl Send for ArchivedShaContextSnapshot

impl Sync for ArchivedShaContextSnapshot

impl Unpin for ArchivedShaContextSnapshot

impl UnsafeUnpin for ArchivedShaContextSnapshot

impl UnwindSafe for ArchivedShaContextSnapshot