pub enum CacheError {
Arena(ArenaError),
Strong(StrongEdgeMutationError),
Ephemeron(EphemeronMutationError),
Lineage(LineageError<ManagedId>),
Collection(CollectionError),
WrongObject(ManagedId),
RevisionExhausted(ManagedId),
}Expand description
Failure from checked class-cache mutation or computation.
Variants§
Arena(ArenaError)
A managed-arena operation failed.
Strong(StrongEdgeMutationError)
A parent edge mutation failed.
Ephemeron(EphemeronMutationError)
An ephemeron mutation failed.
Lineage(LineageError<ManagedId>)
The lineage policy rejected the graph.
Collection(CollectionError)
Collection failed before completing atomically.
WrongObject(ManagedId)
A handle named a managed object of the wrong role.
RevisionExhausted(ManagedId)
A revision counter exhausted its identity space.
Trait Implementations§
Source§impl Debug for CacheError
impl Debug for CacheError
Source§impl Display for CacheError
impl Display for CacheError
Source§impl Error for CacheError
impl Error for CacheError
1.30.0 · 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<ArenaError> for CacheError
impl From<ArenaError> for CacheError
Source§fn from(value: ArenaError) -> Self
fn from(value: ArenaError) -> Self
Converts to this type from the input type.
Source§impl From<CollectionError> for CacheError
impl From<CollectionError> for CacheError
Source§fn from(value: CollectionError) -> Self
fn from(value: CollectionError) -> Self
Converts to this type from the input type.
Source§impl From<EphemeronMutationError> for CacheError
impl From<EphemeronMutationError> for CacheError
Source§fn from(value: EphemeronMutationError) -> Self
fn from(value: EphemeronMutationError) -> Self
Converts to this type from the input type.
Source§impl From<StrongEdgeMutationError> for CacheError
impl From<StrongEdgeMutationError> for CacheError
Source§fn from(value: StrongEdgeMutationError) -> Self
fn from(value: StrongEdgeMutationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CacheError
impl RefUnwindSafe for CacheError
impl Send for CacheError
impl Sync for CacheError
impl Unpin for CacheError
impl UnsafeUnpin for CacheError
impl UnwindSafe for CacheError
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