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

Struct

ArchivedShaGetContext

#[repr(C)]
pub struct ArchivedShaGetContext
where usize: Archive,
{ pub context_id: <usize as Archive>::Archived, }
Expand description

An archived ShaGetContext

Fields

context_id: <usize as Archive>::Archived

The archived counterpart of ShaGetContext::context_id

Trait Implementations

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedShaGetContext
where usize: Archive, <__C as Fallible>::Error: Trace, <usize 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 ArchivedShaGetContext
where usize: Archive, <usize as Archive>::Archived: Portable,

Auto Trait Implementations

impl Freeze for ArchivedShaGetContext

impl RefUnwindSafe for ArchivedShaGetContext

impl Send for ArchivedShaGetContext

impl Sync for ArchivedShaGetContext

impl Unpin for ArchivedShaGetContext

impl UnsafeUnpin for ArchivedShaGetContext

impl UnwindSafe for ArchivedShaGetContext