pub enum DeviceJoinExchangeError {
InvalidSignature,
OfferMismatch,
ApprovalMismatch,
RegistrationRequestMismatch,
AttemptMismatch,
CleanupMismatch,
DuplicateReservedSlot,
Provider(ProviderProbeError),
Storage(StorageError),
Protocol(StoreProtocolError),
}Expand description
A signed join-exchange value that contradicts itself, its signer, or the exchange it extends. Workflow errors wrap it at the operation boundary.
Variants§
InvalidSignature
OfferMismatch
ApprovalMismatch
RegistrationRequestMismatch
AttemptMismatch
CleanupMismatch
DuplicateReservedSlot
Provider(ProviderProbeError)
Storage(StorageError)
Protocol(StoreProtocolError)
Trait Implementations§
Source§impl Debug for DeviceJoinExchangeError
impl Debug for DeviceJoinExchangeError
Source§impl Display for DeviceJoinExchangeError
impl Display for DeviceJoinExchangeError
Source§impl Error for DeviceJoinExchangeError
impl Error for DeviceJoinExchangeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ProviderProbeError> for DeviceJoinExchangeError
impl From<ProviderProbeError> for DeviceJoinExchangeError
Source§fn from(source: ProviderProbeError) -> Self
fn from(source: ProviderProbeError) -> Self
Converts to this type from the input type.
Source§impl From<StorageError> for DeviceJoinExchangeError
impl From<StorageError> for DeviceJoinExchangeError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Source§impl From<StoreProtocolError> for DeviceJoinExchangeError
impl From<StoreProtocolError> for DeviceJoinExchangeError
Source§fn from(source: StoreProtocolError) -> Self
fn from(source: StoreProtocolError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeviceJoinExchangeError
impl !RefUnwindSafe for DeviceJoinExchangeError
impl Send for DeviceJoinExchangeError
impl Sync for DeviceJoinExchangeError
impl Unpin for DeviceJoinExchangeError
impl UnsafeUnpin for DeviceJoinExchangeError
impl !UnwindSafe for DeviceJoinExchangeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more