pub enum StoreReclaimError {
Show 16 variants
Object(StoreObjectError),
Database(DbError),
Outbound(StoreError),
Journal(StoreReclaimJournalError),
Storage(StorageError),
NoSnapshot,
Authorization(String),
StorePull(Box<StorePullError>),
Protocol(StoreProtocolError),
AudiencePackage(AudiencePackageError),
Snapshot(Box<SnapshotError>),
Acknowledgement(Box<StoreAckError>),
WriterAuthorization(Box<StoreWriterAuthorizationError>),
MissingAcknowledgement {
member: String,
device_id: String,
},
MissingAncestry {
commit_hash: ObjectHash,
},
Delete {
activation: ObjectHash,
source: StorageError,
},
}Variants§
Object(StoreObjectError)
Database(DbError)
Outbound(StoreError)
Journal(StoreReclaimJournalError)
Storage(StorageError)
NoSnapshot
Authorization(String)
StorePull(Box<StorePullError>)
Protocol(StoreProtocolError)
AudiencePackage(AudiencePackageError)
Snapshot(Box<SnapshotError>)
Acknowledgement(Box<StoreAckError>)
WriterAuthorization(Box<StoreWriterAuthorizationError>)
MissingAcknowledgement
MissingAncestry
Fields
§
commit_hash: ObjectHashDelete
Trait Implementations§
Source§impl Debug for StoreReclaimError
impl Debug for StoreReclaimError
Source§impl Display for StoreReclaimError
impl Display for StoreReclaimError
Source§impl Error for StoreReclaimError
impl Error for StoreReclaimError
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<AudiencePackageError> for StoreReclaimError
impl From<AudiencePackageError> for StoreReclaimError
Source§fn from(source: AudiencePackageError) -> Self
fn from(source: AudiencePackageError) -> Self
Converts to this type from the input type.
Source§impl From<DbError> for StoreReclaimError
impl From<DbError> for StoreReclaimError
Source§impl From<StorageError> for StoreReclaimError
impl From<StorageError> for StoreReclaimError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Source§impl From<StoreAckError> for StoreReclaimError
impl From<StoreAckError> for StoreReclaimError
Source§fn from(error: StoreAckError) -> Self
fn from(error: StoreAckError) -> Self
Converts to this type from the input type.
Source§impl From<StoreError> for StoreReclaimError
impl From<StoreError> for StoreReclaimError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Source§impl From<StoreObjectError> for StoreReclaimError
impl From<StoreObjectError> for StoreReclaimError
Source§fn from(source: StoreObjectError) -> Self
fn from(source: StoreObjectError) -> Self
Converts to this type from the input type.
Source§impl From<StoreProtocolError> for StoreReclaimError
impl From<StoreProtocolError> for StoreReclaimError
Source§fn from(source: StoreProtocolError) -> Self
fn from(source: StoreProtocolError) -> Self
Converts to this type from the input type.
Source§impl From<StorePullError> for StoreReclaimError
impl From<StorePullError> for StoreReclaimError
Source§fn from(error: StorePullError) -> Self
fn from(error: StorePullError) -> Self
Converts to this type from the input type.
Source§impl From<StoreReclaimJournalError> for StoreReclaimError
impl From<StoreReclaimJournalError> for StoreReclaimError
Source§fn from(source: StoreReclaimJournalError) -> Self
fn from(source: StoreReclaimJournalError) -> Self
Converts to this type from the input type.
Source§impl From<StoreWriterAuthorizationError> for StoreReclaimError
impl From<StoreWriterAuthorizationError> for StoreReclaimError
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 StoreReclaimError
impl !RefUnwindSafe for StoreReclaimError
impl Send for StoreReclaimError
impl Sync for StoreReclaimError
impl Unpin for StoreReclaimError
impl UnsafeUnpin for StoreReclaimError
impl !UnwindSafe for StoreReclaimError
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.