pub enum AnchoredChainError {
StorageUnavailable {
operation: String,
source: StorageError,
},
LoadFailed(String),
Object(StoreObjectError),
Database(DbError),
Membership(MembershipError),
ProviderProbe(ProviderProbeError),
InvalidFloor(MembershipFloorError),
StorePull(Box<StorePullError>),
FounderMismatch {
founder: Option<String>,
owner: String,
},
}Expand description
Why loading an owner-anchored membership chain failed.
Variants§
LoadFailed(String)
Object(StoreObjectError)
Database(DbError)
Membership(MembershipError)
ProviderProbe(ProviderProbeError)
InvalidFloor(MembershipFloorError)
StorePull(Box<StorePullError>)
FounderMismatch
Trait Implementations§
Source§impl Debug for AnchoredChainError
impl Debug for AnchoredChainError
Source§impl Display for AnchoredChainError
impl Display for AnchoredChainError
Source§impl Error for AnchoredChainError
impl Error for AnchoredChainError
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 CircleOperationError
impl From<AnchoredChainError> for CircleOperationError
Source§fn from(error: AnchoredChainError) -> Self
fn from(error: AnchoredChainError) -> Self
Converts to this type from the input type.
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<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<AnchoredChainError> for OwnerPromotionError
impl From<AnchoredChainError> for OwnerPromotionError
Source§fn from(error: AnchoredChainError) -> Self
fn from(error: AnchoredChainError) -> Self
Converts to this type from the input type.
Source§impl From<AnchoredChainError> for StoreError
impl From<AnchoredChainError> for StoreError
Source§fn from(error: AnchoredChainError) -> Self
fn from(error: AnchoredChainError) -> Self
Converts to this type from the input type.
Source§impl From<AnchoredChainError> for StoreInitializationError
impl From<AnchoredChainError> for StoreInitializationError
Source§fn from(source: AnchoredChainError) -> Self
fn from(source: AnchoredChainError) -> Self
Converts to this type from the input type.
Source§impl From<AnchoredChainError> for StorePullError
impl From<AnchoredChainError> for StorePullError
Source§fn from(source: AnchoredChainError) -> Self
fn from(source: AnchoredChainError) -> Self
Converts to this type from the input type.
Source§impl From<DbError> for AnchoredChainError
impl From<DbError> for AnchoredChainError
Source§impl From<MembershipError> for AnchoredChainError
impl From<MembershipError> for AnchoredChainError
Source§fn from(source: MembershipError) -> Self
fn from(source: MembershipError) -> Self
Converts to this type from the input type.
Source§impl From<MembershipFloorError> for AnchoredChainError
impl From<MembershipFloorError> for AnchoredChainError
Source§fn from(source: MembershipFloorError) -> Self
fn from(source: MembershipFloorError) -> Self
Converts to this type from the input type.
Source§impl From<ProviderProbeError> for AnchoredChainError
impl From<ProviderProbeError> for AnchoredChainError
Source§fn from(source: ProviderProbeError) -> Self
fn from(source: ProviderProbeError) -> Self
Converts to this type from the input type.
Source§impl From<StoreObjectError> for AnchoredChainError
impl From<StoreObjectError> for AnchoredChainError
Source§fn from(source: StoreObjectError) -> Self
fn from(source: StoreObjectError) -> Self
Converts to this type from the input type.
Source§impl From<StorePullError> for AnchoredChainError
impl From<StorePullError> for AnchoredChainError
Source§fn from(error: StorePullError) -> Self
fn from(error: StorePullError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AnchoredChainError
impl !RefUnwindSafe for AnchoredChainError
impl Send for AnchoredChainError
impl Sync for AnchoredChainError
impl Unpin for AnchoredChainError
impl UnsafeUnpin for AnchoredChainError
impl !UnwindSafe for AnchoredChainError
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.