pub enum CircleOperationError {
Show 41 variants
Database(DbError),
MissingState(&'static str),
InvalidState(String),
State(CircleStateError),
RowBlob(RowBlobRefError),
Construction(CircleTransitionError),
EpochCloseResponse(CircleTransitionError),
Protocol(StoreProtocolError),
Roster(CircleRosterError),
RowRoutingKey(RowRoutingKeyError),
SnapshotImage(SnapshotImageError),
Encryption(EncryptionError),
Key(KeyError),
Json(Error),
Storage(StorageError),
Object(StoreObjectError),
BlobDownload(BlobDownloadFailureCause),
StoreOutbound(StoreError),
StoreRegistration(StoreRegistrationError),
WriterAuthorization(Box<StoreWriterAuthorizationError>),
SyncCycle(Box<SyncCycleFailure>),
StorePull(Box<StorePullError>),
AnchoredChain(Box<AnchoredChainError>),
BrowsableStorage,
Journal(CircleJournalError),
JournalState(String),
Blocked {
circle_id: CircleId,
block: CircleOperationBlock,
},
RotationRequired {
circle_id: CircleId,
removed_members: Vec<String>,
},
ExcludedDeviceMustReset {
circle_id: CircleId,
close_id: CircleEpochCloseId,
},
NotConflicted {
circle_id: CircleId,
},
ChosenBranchNotRetained {
circle_id: CircleId,
},
ResolveToClosingBranch {
circle_id: CircleId,
},
NoCloseToCancel {
circle_id: CircleId,
},
NoCloseToExclude {
circle_id: CircleId,
},
DeviceNotACloseParticipant {
circle_id: CircleId,
device_id: StoreDeviceId,
},
NotBlocked {
operation_id: CircleOperationId,
},
DiscardRequiresNonactivation {
operation_id: CircleOperationId,
},
Conflicted {
circle_id: CircleId,
},
Deleted {
circle_id: CircleId,
},
CommandChannelClosed,
ReplyChannelClosed,
}Variants§
Database(DbError)
MissingState(&'static str)
InvalidState(String)
State(CircleStateError)
RowBlob(RowBlobRefError)
Construction(CircleTransitionError)
EpochCloseResponse(CircleTransitionError)
Protocol(StoreProtocolError)
Roster(CircleRosterError)
RowRoutingKey(RowRoutingKeyError)
SnapshotImage(SnapshotImageError)
Encryption(EncryptionError)
Key(KeyError)
Json(Error)
Storage(StorageError)
Object(StoreObjectError)
BlobDownload(BlobDownloadFailureCause)
StoreOutbound(StoreError)
StoreRegistration(StoreRegistrationError)
WriterAuthorization(Box<StoreWriterAuthorizationError>)
SyncCycle(Box<SyncCycleFailure>)
StorePull(Box<StorePullError>)
AnchoredChain(Box<AnchoredChainError>)
BrowsableStorage
Journal(CircleJournalError)
JournalState(String)
Blocked
RotationRequired
ExcludedDeviceMustReset
NotConflicted
ChosenBranchNotRetained
ResolveToClosingBranch
NoCloseToCancel
NoCloseToExclude
DeviceNotACloseParticipant
NotBlocked
Fields
§
operation_id: CircleOperationIdDiscardRequiresNonactivation
Fields
§
operation_id: CircleOperationIdConflicted
Deleted
CommandChannelClosed
ReplyChannelClosed
Trait Implementations§
Source§impl Debug for CircleOperationError
impl Debug for CircleOperationError
Source§impl Display for CircleOperationError
impl Display for CircleOperationError
Source§impl Error for CircleOperationError
impl Error for CircleOperationError
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<CircleJournalError> for CircleOperationError
impl From<CircleJournalError> for CircleOperationError
Source§fn from(source: CircleJournalError) -> Self
fn from(source: CircleJournalError) -> Self
Converts to this type from the input type.
Source§impl From<CircleOperationError> for CirclePackageReadError
impl From<CircleOperationError> for CirclePackageReadError
Source§fn from(error: CircleOperationError) -> Self
fn from(error: CircleOperationError) -> Self
Converts to this type from the input type.
Source§impl From<CircleOperationError> for SyncError
impl From<CircleOperationError> for SyncError
Source§fn from(error: CircleOperationError) -> Self
fn from(error: CircleOperationError) -> Self
Converts to this type from the input type.
Source§impl From<CircleRosterError> for CircleOperationError
impl From<CircleRosterError> for CircleOperationError
Source§fn from(source: CircleRosterError) -> Self
fn from(source: CircleRosterError) -> Self
Converts to this type from the input type.
Source§impl From<CircleStateError> for CircleOperationError
impl From<CircleStateError> for CircleOperationError
Source§fn from(source: CircleStateError) -> Self
fn from(source: CircleStateError) -> Self
Converts to this type from the input type.
Source§impl From<CircleTransitionError> for CircleOperationError
impl From<CircleTransitionError> for CircleOperationError
Source§fn from(source: CircleTransitionError) -> Self
fn from(source: CircleTransitionError) -> Self
Converts to this type from the input type.
Source§impl From<DbError> for CircleOperationError
impl From<DbError> for CircleOperationError
Source§impl From<EncryptionError> for CircleOperationError
impl From<EncryptionError> for CircleOperationError
Source§fn from(source: EncryptionError) -> Self
fn from(source: EncryptionError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for CircleOperationError
impl From<Error> for CircleOperationError
Source§impl From<KeyError> for CircleOperationError
impl From<KeyError> for CircleOperationError
Source§impl From<RowBlobRefError> for CircleOperationError
impl From<RowBlobRefError> for CircleOperationError
Source§fn from(source: RowBlobRefError) -> Self
fn from(source: RowBlobRefError) -> Self
Converts to this type from the input type.
Source§impl From<RowRoutingKeyError> for CircleOperationError
impl From<RowRoutingKeyError> for CircleOperationError
Source§fn from(source: RowRoutingKeyError) -> Self
fn from(source: RowRoutingKeyError) -> Self
Converts to this type from the input type.
Source§impl From<SnapshotImageError> for CircleOperationError
impl From<SnapshotImageError> for CircleOperationError
Source§fn from(source: SnapshotImageError) -> Self
fn from(source: SnapshotImageError) -> Self
Converts to this type from the input type.
Source§impl From<StorageError> for CircleOperationError
impl From<StorageError> for CircleOperationError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Source§impl From<StoreError> for CircleOperationError
impl From<StoreError> for CircleOperationError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Source§impl From<StoreObjectError> for CircleOperationError
impl From<StoreObjectError> for CircleOperationError
Source§fn from(source: StoreObjectError) -> Self
fn from(source: StoreObjectError) -> Self
Converts to this type from the input type.
Source§impl From<StoreProtocolError> for CircleOperationError
impl From<StoreProtocolError> for CircleOperationError
Source§fn from(source: StoreProtocolError) -> Self
fn from(source: StoreProtocolError) -> Self
Converts to this type from the input type.
Source§impl From<StorePullError> for CircleOperationError
impl From<StorePullError> for CircleOperationError
Source§fn from(error: StorePullError) -> Self
fn from(error: StorePullError) -> Self
Converts to this type from the input type.
Source§impl From<StoreRegistrationError> for CircleOperationError
impl From<StoreRegistrationError> for CircleOperationError
Source§fn from(source: StoreRegistrationError) -> Self
fn from(source: StoreRegistrationError) -> Self
Converts to this type from the input type.
Source§impl From<StoreWriterAuthorizationError> for CircleOperationError
impl From<StoreWriterAuthorizationError> for CircleOperationError
Source§fn from(error: StoreWriterAuthorizationError) -> Self
fn from(error: StoreWriterAuthorizationError) -> Self
Converts to this type from the input type.
Source§impl From<SyncCycleFailure> for CircleOperationError
impl From<SyncCycleFailure> for CircleOperationError
Source§fn from(error: SyncCycleFailure) -> Self
fn from(error: SyncCycleFailure) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CircleOperationError
impl !RefUnwindSafe for CircleOperationError
impl Send for CircleOperationError
impl Sync for CircleOperationError
impl Unpin for CircleOperationError
impl UnsafeUnpin for CircleOperationError
impl !UnwindSafe for CircleOperationError
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.