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

Enum

ArchivedSendMessageError

#[repr(u8)]
pub enum ArchivedSendMessageError
where BluetoothError: Archive,
{ NoDevicePaired, Bluetooth(<BluetoothError as Archive>::Archived), Cancelled, Timeout, }
Expand description

An archived SendMessageError

Variants

NoDevicePaired

The archived counterpart of SendMessageError::NoDevicePaired

Bluetooth(<BluetoothError as Archive>::Archived)

The archived counterpart of SendMessageError::Bluetooth

Tuple Fields

0: <BluetoothError as Archive>::Archived

The archived counterpart of SendMessageError::Bluetooth::0

Cancelled

The archived counterpart of SendMessageError::Cancelled

Timeout

The archived counterpart of SendMessageError::Timeout

Trait Implementations

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

Auto Trait Implementations

impl Freeze for ArchivedSendMessageError

impl RefUnwindSafe for ArchivedSendMessageError

impl Send for ArchivedSendMessageError

impl Sync for ArchivedSendMessageError

impl Unpin for ArchivedSendMessageError

impl UnsafeUnpin for ArchivedSendMessageError

impl UnwindSafe for ArchivedSendMessageError