pub enum CollectionErrorKind {
NotFound,
Unidentified,
Syntax,
StorageCorrupted,
Io,
Other,
}Expand description
Collection error kind.
Variants§
NotFound
Entity not found, so the requested operation could not be performed.
Unidentified
Entity doesn’t have an id, and the requested operation could not be performed.
Syntax
Serialization/deserialization error.
StorageCorrupted
Storage is in an invalid state and cannot perform the requested operation.
Io
Io error (unexpected EOF, interrupted, …).
Other
Other error.
Trait Implementations§
Source§impl Clone for CollectionErrorKind
impl Clone for CollectionErrorKind
Source§fn clone(&self) -> CollectionErrorKind
fn clone(&self) -> CollectionErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CollectionErrorKind
impl Debug for CollectionErrorKind
Source§impl Display for CollectionErrorKind
impl Display for CollectionErrorKind
Source§impl PartialEq for CollectionErrorKind
impl PartialEq for CollectionErrorKind
impl Copy for CollectionErrorKind
impl Eq for CollectionErrorKind
impl StructuralPartialEq for CollectionErrorKind
Auto Trait Implementations§
impl Freeze for CollectionErrorKind
impl RefUnwindSafe for CollectionErrorKind
impl Send for CollectionErrorKind
impl Sync for CollectionErrorKind
impl Unpin for CollectionErrorKind
impl UnwindSafe for CollectionErrorKind
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