pub enum DeviceJoinError {
Show 31 variants
InvalidSignature,
OfferMismatch,
ApprovalMismatch,
RegistrationRequestMismatch,
AttemptMismatch,
CleanupMismatch,
NonAdjacentJournalTransition,
JournalConflict,
DuplicateReservedSlot,
MemberNotEligible,
Provider(String),
ProviderStorage(StorageError),
ProviderProbe(ProviderProbeError),
Store(String),
JoinTask(JoinError),
WriterAuthorization(Box<StoreWriterAuthorizationError>),
MembershipChain(Box<AnchoredChainError>),
Database(DbError),
ActiveDeviceRequired,
OwnerAuthorityRequired,
ProviderAdministratorRequired,
MembershipConflict,
ApprovalActivationMissing,
ActivationNotMaterialized,
Object(StoreObjectError),
Registration(StoreRegistrationError),
Pull(StorePullError),
Outbound(StoreError),
Protocol(StoreProtocolError),
Storage(StorageError),
Serialization(Error),
}Variants§
InvalidSignature
OfferMismatch
ApprovalMismatch
RegistrationRequestMismatch
AttemptMismatch
CleanupMismatch
NonAdjacentJournalTransition
JournalConflict
DuplicateReservedSlot
MemberNotEligible
Provider(String)
ProviderStorage(StorageError)
ProviderProbe(ProviderProbeError)
Store(String)
JoinTask(JoinError)
WriterAuthorization(Box<StoreWriterAuthorizationError>)
MembershipChain(Box<AnchoredChainError>)
Database(DbError)
ActiveDeviceRequired
OwnerAuthorityRequired
ProviderAdministratorRequired
MembershipConflict
ApprovalActivationMissing
ActivationNotMaterialized
Object(StoreObjectError)
Registration(StoreRegistrationError)
Pull(StorePullError)
Outbound(StoreError)
Protocol(StoreProtocolError)
Storage(StorageError)
Serialization(Error)
Trait Implementations§
Source§impl Debug for DeviceJoinError
impl Debug for DeviceJoinError
Source§impl Display for DeviceJoinError
impl Display for DeviceJoinError
Source§impl Error for DeviceJoinError
impl Error for DeviceJoinError
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<AnchoredChainError> for DeviceJoinError
impl From<AnchoredChainError> for DeviceJoinError
Source§fn from(error: AnchoredChainError) -> Self
fn from(error: AnchoredChainError) -> Self
Converts to this type from the input type.
Source§impl From<DbError> for DeviceJoinError
impl From<DbError> for DeviceJoinError
Source§impl From<DeviceJoinError> for DeviceJoinTransportError
impl From<DeviceJoinError> for DeviceJoinTransportError
Source§fn from(source: DeviceJoinError) -> Self
fn from(source: DeviceJoinError) -> Self
Converts to this type from the input type.
Source§impl From<DeviceJoinError> for SyncError
impl From<DeviceJoinError> for SyncError
Source§fn from(error: DeviceJoinError) -> Self
fn from(error: DeviceJoinError) -> Self
Converts to this type from the input type.
Source§impl From<DeviceJoinError> for TestError
impl From<DeviceJoinError> for TestError
Source§fn from(source: DeviceJoinError) -> Self
fn from(source: DeviceJoinError) -> Self
Converts to this type from the input type.
Source§impl From<DeviceJoinExchangeError> for DeviceJoinError
impl From<DeviceJoinExchangeError> for DeviceJoinError
Source§fn from(error: DeviceJoinExchangeError) -> Self
fn from(error: DeviceJoinExchangeError) -> Self
Converts to this type from the input type.
Source§impl From<DeviceJoinJournalError> for DeviceJoinError
impl From<DeviceJoinJournalError> for DeviceJoinError
Source§fn from(error: DeviceJoinJournalError) -> Self
fn from(error: DeviceJoinJournalError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for DeviceJoinError
impl From<Error> for DeviceJoinError
Source§impl From<JoinError> for DeviceJoinError
impl From<JoinError> for DeviceJoinError
Source§impl From<StorageError> for DeviceJoinError
impl From<StorageError> for DeviceJoinError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Source§impl From<StoreError> for DeviceJoinError
impl From<StoreError> for DeviceJoinError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Source§impl From<StoreObjectError> for DeviceJoinError
impl From<StoreObjectError> for DeviceJoinError
Source§fn from(source: StoreObjectError) -> Self
fn from(source: StoreObjectError) -> Self
Converts to this type from the input type.
Source§impl From<StoreProtocolError> for DeviceJoinError
impl From<StoreProtocolError> for DeviceJoinError
Source§fn from(source: StoreProtocolError) -> Self
fn from(source: StoreProtocolError) -> Self
Converts to this type from the input type.
Source§impl From<StorePullError> for DeviceJoinError
impl From<StorePullError> for DeviceJoinError
Source§fn from(source: StorePullError) -> Self
fn from(source: StorePullError) -> Self
Converts to this type from the input type.
Source§impl From<StoreRegistrationError> for DeviceJoinError
impl From<StoreRegistrationError> for DeviceJoinError
Source§fn from(source: StoreRegistrationError) -> Self
fn from(source: StoreRegistrationError) -> Self
Converts to this type from the input type.
Source§impl From<StoreWriterAuthorizationError> for DeviceJoinError
impl From<StoreWriterAuthorizationError> for DeviceJoinError
Source§fn from(error: StoreWriterAuthorizationError) -> Self
fn from(error: StoreWriterAuthorizationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeviceJoinError
impl !RefUnwindSafe for DeviceJoinError
impl Send for DeviceJoinError
impl Sync for DeviceJoinError
impl Unpin for DeviceJoinError
impl UnsafeUnpin for DeviceJoinError
impl !UnwindSafe for DeviceJoinError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.