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

Struct

ArchivedDeviceId

#[repr(C)]
pub struct ArchivedDeviceId(pub <[u8; 32] as Archive>::Archived) where [u8; 32]: Archive;
Expand description

An archived DeviceId

Tuple Fields

0: <[u8; 32] as Archive>::Archived

The archived counterpart of DeviceId::0

Trait Implementations

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

Auto Trait Implementations

impl Freeze for ArchivedDeviceId

impl RefUnwindSafe for ArchivedDeviceId

impl Send for ArchivedDeviceId

impl Sync for ArchivedDeviceId

impl Unpin for ArchivedDeviceId

impl UnsafeUnpin for ArchivedDeviceId

impl UnwindSafe for ArchivedDeviceId