pub enum Error {
DocError(String),
DbError(DbError),
StrError(Utf8Error),
DataError(CborError),
StorageError(String),
IoError(IoError),
SyncError(String),
}
Expand description
Database error type
Variants§
DocError(String)
DbError(DbError)
StrError(Utf8Error)
DataError(CborError)
StorageError(String)
IoError(IoError)
SyncError(String)
Trait Implementations§
source§impl From<Error> for Error
impl From<Error> for Error
source§fn from(e: RonDecError) -> Self
fn from(e: RonDecError) -> Self
Converts to this type from the input type.
source§impl From<Error> for Error
impl From<Error> for Error
source§fn from(e: RonEncError) -> Self
fn from(e: RonEncError) -> Self
Converts to this type from the input type.
source§impl<E> From<PoisonError<E>> for Errorwhere
PoisonError<E>: Display,
impl<E> From<PoisonError<E>> for Errorwhere
PoisonError<E>: Display,
source§fn from(e: PoisonError<E>) -> Self
fn from(e: PoisonError<E>) -> Self
Converts to this type from the input type.