pub enum FeOxDbError {
FeOxDb(FeoxError),
Serialization(EncodeError),
Deserialization(DecodeError),
Io(Error),
InvalidConfig(String),
}Expand description
Errors that can occur when using FeOxDbBackend.
Variants§
FeOxDb(FeoxError)
An error from the underlying FeOxDB database.
Serialization(EncodeError)
Failed to serialize a cache key or value.
Deserialization(DecodeError)
Failed to deserialize a cache key or value.
Io(Error)
An I/O error occurred while accessing the database file.
InvalidConfig(String)
The provided configuration is invalid.
Trait Implementations§
Source§impl Debug for FeOxDbError
impl Debug for FeOxDbError
Source§impl Display for FeOxDbError
impl Display for FeOxDbError
Source§impl Error for FeOxDbError
impl Error for FeOxDbError
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<DecodeError> for FeOxDbError
impl From<DecodeError> for FeOxDbError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<EncodeError> for FeOxDbError
impl From<EncodeError> for FeOxDbError
Source§fn from(source: EncodeError) -> Self
fn from(source: EncodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for FeOxDbError
impl From<Error> for FeOxDbError
Auto Trait Implementations§
impl Freeze for FeOxDbError
impl !RefUnwindSafe for FeOxDbError
impl Send for FeOxDbError
impl Sync for FeOxDbError
impl Unpin for FeOxDbError
impl !UnwindSafe for FeOxDbError
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