pub enum CirclePackageReadError {
Database(DbError),
Invalid(String),
CircleState(CircleStateError),
Storage(StorageError),
StoreObject(StoreObjectError),
SyncCycle(Box<SyncCycleFailure>),
CircleOperation(Box<CircleOperationError>),
Pull(Box<StorePullError>),
Roster(CircleRosterError),
}Variants§
Database(DbError)
Invalid(String)
CircleState(CircleStateError)
Storage(StorageError)
StoreObject(StoreObjectError)
SyncCycle(Box<SyncCycleFailure>)
CircleOperation(Box<CircleOperationError>)
Pull(Box<StorePullError>)
Roster(CircleRosterError)
Trait Implementations§
Source§impl Debug for CirclePackageReadError
impl Debug for CirclePackageReadError
Source§impl Display for CirclePackageReadError
impl Display for CirclePackageReadError
Source§impl Error for CirclePackageReadError
impl Error for CirclePackageReadError
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<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<CirclePackageReadError> for StoreError
impl From<CirclePackageReadError> for StoreError
Source§fn from(error: CirclePackageReadError) -> Self
fn from(error: CirclePackageReadError) -> Self
Converts to this type from the input type.
Source§impl From<CirclePackageReadError> for StorePullError
impl From<CirclePackageReadError> for StorePullError
Source§fn from(error: CirclePackageReadError) -> Self
fn from(error: CirclePackageReadError) -> Self
Converts to this type from the input type.
Source§impl From<CircleRosterError> for CirclePackageReadError
impl From<CircleRosterError> for CirclePackageReadError
Source§fn from(source: CircleRosterError) -> Self
fn from(source: CircleRosterError) -> Self
Converts to this type from the input type.
Source§impl From<CircleStateError> for CirclePackageReadError
impl From<CircleStateError> for CirclePackageReadError
Source§fn from(source: CircleStateError) -> Self
fn from(source: CircleStateError) -> Self
Converts to this type from the input type.
Source§impl From<DbError> for CirclePackageReadError
impl From<DbError> for CirclePackageReadError
Source§impl From<StorageError> for CirclePackageReadError
impl From<StorageError> for CirclePackageReadError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Source§impl From<StoreObjectError> for CirclePackageReadError
impl From<StoreObjectError> for CirclePackageReadError
Source§fn from(source: StoreObjectError) -> Self
fn from(source: StoreObjectError) -> Self
Converts to this type from the input type.
Source§impl From<StorePullError> for CirclePackageReadError
impl From<StorePullError> for CirclePackageReadError
Source§fn from(error: StorePullError) -> Self
fn from(error: StorePullError) -> Self
Converts to this type from the input type.
Source§impl From<SyncCycleFailure> for CirclePackageReadError
impl From<SyncCycleFailure> for CirclePackageReadError
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 CirclePackageReadError
impl !RefUnwindSafe for CirclePackageReadError
impl Send for CirclePackageReadError
impl Sync for CirclePackageReadError
impl Unpin for CirclePackageReadError
impl UnsafeUnpin for CirclePackageReadError
impl !UnwindSafe for CirclePackageReadError
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.