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

Struct

ArchivedShaSetContext

#[repr(C)]
pub struct ArchivedShaSetContext
where Option<usize>: Archive, ShaAlgo: Archive, [u8; 64]: Archive,
{ 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>::Archived

The archived counterpart of ShaSetContext::context_id

algo: <ShaAlgo as Archive>::Archived

The archived counterpart of ShaSetContext::algo

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

The archived counterpart of ShaSetContext::hash_state

Trait Implementations

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

Auto Trait Implementations

impl Freeze for ArchivedShaSetContext

impl RefUnwindSafe for ArchivedShaSetContext

impl Send for ArchivedShaSetContext

impl Sync for ArchivedShaSetContext

impl Unpin for ArchivedShaSetContext

impl UnsafeUnpin for ArchivedShaSetContext

impl UnwindSafe for ArchivedShaSetContext