Enum ate::error::load_error::LoadErrorKind
source · [−]pub enum LoadErrorKind {
Show 19 variants
SerializationError(SerializationErrorKind),
TransformationError(TransformErrorKind),
Msg(String),
IO(String),
NotFound(PrimaryKey),
NoPrimaryKey,
VersionMismatch,
NotFoundByHash(AteHash),
ObjectStillLocked(PrimaryKey),
AlreadyDeleted(PrimaryKey),
Tombstoned(PrimaryKey),
ChainCreationError(String),
NoRepository,
MissingData,
Disconnected,
Timeout,
LoadFailed(String),
CollectionDetached,
WeakDio,
// some variants omitted
}Expand description
The kind of an error.
Variants
SerializationError(SerializationErrorKind)
TransformationError(TransformErrorKind)
Msg(String)
A convenient variant for String.
IO(String)
NotFound(PrimaryKey)
NoPrimaryKey
VersionMismatch
NotFoundByHash(AteHash)
ObjectStillLocked(PrimaryKey)
AlreadyDeleted(PrimaryKey)
Tombstoned(PrimaryKey)
ChainCreationError(String)
NoRepository
MissingData
Disconnected
Timeout
LoadFailed(String)
CollectionDetached
WeakDio
Implementations
sourceimpl LoadErrorKind
impl LoadErrorKind
sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
A string describing the error kind.
Trait Implementations
sourceimpl Debug for LoadErrorKind
impl Debug for LoadErrorKind
sourceimpl Display for LoadErrorKind
impl Display for LoadErrorKind
sourceimpl<'a> From<&'a str> for LoadErrorKind
impl<'a> From<&'a str> for LoadErrorKind
sourceimpl From<LoadError> for LoadErrorKind
impl From<LoadError> for LoadErrorKind
sourceimpl From<LoadErrorKind> for AteErrorKind
impl From<LoadErrorKind> for AteErrorKind
sourcefn from(e: LoadErrorKind) -> Self
fn from(e: LoadErrorKind) -> Self
Converts to this type from the input type.
sourceimpl From<LoadErrorKind> for BusErrorKind
impl From<LoadErrorKind> for BusErrorKind
sourcefn from(e: LoadErrorKind) -> Self
fn from(e: LoadErrorKind) -> Self
Converts to this type from the input type.
sourceimpl From<LoadErrorKind> for ChainCreationErrorKind
impl From<LoadErrorKind> for ChainCreationErrorKind
sourcefn from(e: LoadErrorKind) -> Self
fn from(e: LoadErrorKind) -> Self
Converts to this type from the input type.
sourceimpl From<LoadErrorKind> for CommsErrorKind
impl From<LoadErrorKind> for CommsErrorKind
sourcefn from(e: LoadErrorKind) -> Self
fn from(e: LoadErrorKind) -> Self
Converts to this type from the input type.
sourceimpl From<LoadErrorKind> for CompactErrorKind
impl From<LoadErrorKind> for CompactErrorKind
sourcefn from(e: LoadErrorKind) -> Self
fn from(e: LoadErrorKind) -> Self
Converts to this type from the input type.
sourceimpl From<LoadErrorKind> for InvokeErrorKind
impl From<LoadErrorKind> for InvokeErrorKind
sourcefn from(e: LoadErrorKind) -> Self
fn from(e: LoadErrorKind) -> Self
Converts to this type from the input type.
sourceimpl From<LoadErrorKind> for LoadError
impl From<LoadErrorKind> for LoadError
sourcefn from(e: LoadErrorKind) -> Self
fn from(e: LoadErrorKind) -> Self
Converts to this type from the input type.
sourceimpl From<SerializationErrorKind> for LoadErrorKind
impl From<SerializationErrorKind> for LoadErrorKind
sourcefn from(e: SerializationErrorKind) -> Self
fn from(e: SerializationErrorKind) -> Self
Converts to this type from the input type.
sourceimpl From<String> for LoadErrorKind
impl From<String> for LoadErrorKind
sourceimpl From<TransformErrorKind> for LoadErrorKind
impl From<TransformErrorKind> for LoadErrorKind
sourcefn from(e: TransformErrorKind) -> Self
fn from(e: TransformErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for LoadErrorKind
impl Send for LoadErrorKind
impl Sync for LoadErrorKind
impl Unpin for LoadErrorKind
impl !UnwindSafe for LoadErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more