pub enum TransientError {
IncretmentError,
ParsingToByteError,
ParsingToUTF8Error,
SledError {
error: Error,
},
SledTransactionError,
ParsingToU64ByteFailed,
}Expand description
The primary error enum for the TransientDB library.
Variants§
IncretmentError
Error that occurs during frequency increment operations.
ParsingToByteError
Error that occurs when parsing to a byte slice fails.
ParsingToUTF8Error
Error that occurs when parsing to a UTF-8 string fails.
SledError
Wrapper for sled::Error.
SledTransactionError
Error that occurs during a sled transaction.
ParsingToU64ByteFailed
Error that occurs when parsing a byte slice to a u64 fails.
Trait Implementations§
Source§impl Debug for TransientError
impl Debug for TransientError
Source§impl Display for TransientError
impl Display for TransientError
Source§impl Error for TransientError
impl Error for TransientError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for TransientError
impl !RefUnwindSafe for TransientError
impl Send for TransientError
impl Sync for TransientError
impl Unpin for TransientError
impl !UnwindSafe for TransientError
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