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

Enum

ArchivedPairingEvent

#[repr(u8)]
pub enum ArchivedPairingEvent
where String: Archive, bool: Archive,
{ RequestReceived, PairingComplete { device_name: <String as Archive>::Archived, new: <bool as Archive>::Archived, }, PairingFailed, Disconnected, }
Expand description

An archived PairingEvent

Variants

RequestReceived

The archived counterpart of PairingEvent::RequestReceived

PairingComplete

The archived counterpart of PairingEvent::PairingComplete

Fields

device_name: <String as Archive>::Archived

The archived counterpart of PairingEvent::PairingComplete::device_name

new: <bool as Archive>::Archived

The archived counterpart of PairingEvent::PairingComplete::new

PairingFailed

The archived counterpart of PairingEvent::PairingFailed

Disconnected

The archived counterpart of PairingEvent::Disconnected

Trait Implementations

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPairingEvent
where String: Archive, bool: Archive, <__C as Fallible>::Error: Source, <String as Archive>::Archived: CheckBytes<__C>, <bool 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 ArchivedPairingEvent
where String: Archive, bool: Archive, <String as Archive>::Archived: Portable, <bool as Archive>::Archived: Portable,

Auto Trait Implementations

impl Freeze for ArchivedPairingEvent

impl RefUnwindSafe for ArchivedPairingEvent

impl Send for ArchivedPairingEvent

impl Sync for ArchivedPairingEvent

impl !Unpin for ArchivedPairingEvent

impl !UnsafeUnpin for ArchivedPairingEvent

impl UnwindSafe for ArchivedPairingEvent