pub enum MembershipMutationError {
Show 24 variants
Bucket(StorageError),
Key(KeyError),
Membership(MembershipError),
CloudHome(CloudHomeError),
Crypto(String),
Encryption(EncryptionError),
WrappedKeyring(WrappedKeyringError),
Json(Error),
Pull(Box<StorePullError>),
AnchoredChain(Box<AnchoredChainError>),
Blocking(BlockingTaskError),
Store(Box<StoreError>),
RemoteObject(RemoteObjectRecordError),
Protocol(StoreProtocolError),
NotAMember(String),
LastOwner,
Database(DbError),
PendingMutation(String),
InvalidDurableMutation(String),
StoreObject(StoreObjectError),
Preparation(MembershipPreparationError),
RotationState(RotationStateError),
PreparedCommit(PreparedCommitError),
MembershipFloor(MembershipFloorError),
}Variants§
Bucket(StorageError)
Key(KeyError)
Membership(MembershipError)
CloudHome(CloudHomeError)
Crypto(String)
Encryption(EncryptionError)
WrappedKeyring(WrappedKeyringError)
Json(Error)
Pull(Box<StorePullError>)
AnchoredChain(Box<AnchoredChainError>)
Blocking(BlockingTaskError)
Store(Box<StoreError>)
RemoteObject(RemoteObjectRecordError)
Protocol(StoreProtocolError)
NotAMember(String)
LastOwner
Database(DbError)
PendingMutation(String)
InvalidDurableMutation(String)
StoreObject(StoreObjectError)
Preparation(MembershipPreparationError)
RotationState(RotationStateError)
PreparedCommit(PreparedCommitError)
MembershipFloor(MembershipFloorError)
Trait Implementations§
Source§impl Debug for MembershipMutationError
impl Debug for MembershipMutationError
Source§impl Display for MembershipMutationError
impl Display for MembershipMutationError
Source§impl Error for MembershipMutationError
impl Error for MembershipMutationError
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 MembershipMutationError
impl From<AnchoredChainError> for MembershipMutationError
Source§fn from(error: AnchoredChainError) -> Self
fn from(error: AnchoredChainError) -> Self
Converts to this type from the input type.
Source§impl From<BlockingTaskError> for MembershipMutationError
impl From<BlockingTaskError> for MembershipMutationError
Source§fn from(source: BlockingTaskError) -> Self
fn from(source: BlockingTaskError) -> Self
Converts to this type from the input type.
Source§impl From<CloudHomeError> for MembershipMutationError
impl From<CloudHomeError> for MembershipMutationError
Source§fn from(source: CloudHomeError) -> Self
fn from(source: CloudHomeError) -> Self
Converts to this type from the input type.
Source§impl From<DbError> for MembershipMutationError
impl From<DbError> for MembershipMutationError
Source§impl From<EncryptionError> for MembershipMutationError
impl From<EncryptionError> for MembershipMutationError
Source§fn from(source: EncryptionError) -> Self
fn from(source: EncryptionError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for MembershipMutationError
impl From<Error> for MembershipMutationError
Source§impl From<KeyError> for MembershipMutationError
impl From<KeyError> for MembershipMutationError
Source§impl From<MembershipError> for MembershipMutationError
impl From<MembershipError> for MembershipMutationError
Source§fn from(source: MembershipError) -> Self
fn from(source: MembershipError) -> Self
Converts to this type from the input type.
Source§impl From<MembershipFloorError> for MembershipMutationError
impl From<MembershipFloorError> for MembershipMutationError
Source§fn from(source: MembershipFloorError) -> Self
fn from(source: MembershipFloorError) -> Self
Converts to this type from the input type.
Source§impl From<MembershipMutationError> for OwnerPromotionError
impl From<MembershipMutationError> for OwnerPromotionError
Source§fn from(error: MembershipMutationError) -> Self
fn from(error: MembershipMutationError) -> Self
Converts to this type from the input type.
Source§impl From<MembershipMutationError> for StoreError
impl From<MembershipMutationError> for StoreError
Source§fn from(error: MembershipMutationError) -> Self
fn from(error: MembershipMutationError) -> Self
Converts to this type from the input type.
Source§impl From<MembershipMutationError> for TestError
impl From<MembershipMutationError> for TestError
Source§fn from(source: MembershipMutationError) -> Self
fn from(source: MembershipMutationError) -> Self
Converts to this type from the input type.
Source§impl From<MembershipPreparationError> for MembershipMutationError
impl From<MembershipPreparationError> for MembershipMutationError
Source§fn from(source: MembershipPreparationError) -> Self
fn from(source: MembershipPreparationError) -> Self
Converts to this type from the input type.
Source§impl From<PreparedCommitError> for MembershipMutationError
impl From<PreparedCommitError> for MembershipMutationError
Source§fn from(source: PreparedCommitError) -> Self
fn from(source: PreparedCommitError) -> Self
Converts to this type from the input type.
Source§impl From<RemoteObjectRecordError> for MembershipMutationError
impl From<RemoteObjectRecordError> for MembershipMutationError
Source§fn from(source: RemoteObjectRecordError) -> Self
fn from(source: RemoteObjectRecordError) -> Self
Converts to this type from the input type.
Source§impl From<RotationStateError> for MembershipMutationError
impl From<RotationStateError> for MembershipMutationError
Source§fn from(source: RotationStateError) -> Self
fn from(source: RotationStateError) -> Self
Converts to this type from the input type.
Source§impl From<StorageError> for MembershipMutationError
impl From<StorageError> for MembershipMutationError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Source§impl From<StoreError> for MembershipMutationError
impl From<StoreError> for MembershipMutationError
Source§fn from(error: StoreError) -> Self
fn from(error: StoreError) -> Self
Converts to this type from the input type.
Source§impl From<StoreObjectError> for MembershipMutationError
impl From<StoreObjectError> for MembershipMutationError
Source§fn from(source: StoreObjectError) -> Self
fn from(source: StoreObjectError) -> Self
Converts to this type from the input type.
Source§impl From<StoreProtocolError> for MembershipMutationError
impl From<StoreProtocolError> for MembershipMutationError
Source§fn from(source: StoreProtocolError) -> Self
fn from(source: StoreProtocolError) -> Self
Converts to this type from the input type.
Source§impl From<StorePullError> for MembershipMutationError
impl From<StorePullError> for MembershipMutationError
Source§fn from(error: StorePullError) -> Self
fn from(error: StorePullError) -> Self
Converts to this type from the input type.
Source§impl From<WrappedKeyringError> for MembershipMutationError
impl From<WrappedKeyringError> for MembershipMutationError
Source§fn from(source: WrappedKeyringError) -> Self
fn from(source: WrappedKeyringError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MembershipMutationError
impl !RefUnwindSafe for MembershipMutationError
impl Send for MembershipMutationError
impl Sync for MembershipMutationError
impl Unpin for MembershipMutationError
impl UnsafeUnpin for MembershipMutationError
impl !UnwindSafe for MembershipMutationError
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.