pub enum ErrorKind {
Show 13 variants
DoesNotExist,
NotACollection,
NotAStorage,
AccessDenied,
Io,
InvalidData,
InvalidInput,
ReadOnly,
CollectionNotEmpty,
PreconditionFailed,
Unavailable,
Unsupported,
Uncategorised,
}
Expand description
Variants used to categorise Error
instances.
Variants§
DoesNotExist
NotACollection
NotAStorage
AccessDenied
Io
InvalidData
InvalidInput
ReadOnly
CollectionNotEmpty
PreconditionFailed
The requested operation is not possible on this specific instance.
Unsupported
This storage implementation does not support a required feature.
Uncategorised
Trait Implementations§
source§impl PartialEq for ErrorKind
impl PartialEq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
source§fn try_octets_into(
self,
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
source§fn octets_into(self) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.