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

Struct

ArchivedShamirSplit

#[repr(C)]
pub struct ArchivedShamirSplit
where Vec<u8>: Archive, usize: Archive,
{ pub secret: <Vec<u8> as Archive>::Archived, pub num_shares: <usize as Archive>::Archived, pub threshold: <usize as Archive>::Archived, }
Expand description

An archived ShamirSplit

Fields

secret: <Vec<u8> as Archive>::Archived

The archived counterpart of ShamirSplit::secret

num_shares: <usize as Archive>::Archived

The archived counterpart of ShamirSplit::num_shares

threshold: <usize as Archive>::Archived

The archived counterpart of ShamirSplit::threshold

Trait Implementations

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

Auto Trait Implementations

impl Freeze for ArchivedShamirSplit

impl RefUnwindSafe for ArchivedShamirSplit

impl Send for ArchivedShamirSplit

impl Sync for ArchivedShamirSplit

impl !Unpin for ArchivedShamirSplit

impl !UnsafeUnpin for ArchivedShamirSplit

impl UnwindSafe for ArchivedShamirSplit