pub enum BitCaskError {
IoError(Error),
CorruptedData(String),
UnexpectedError(Error),
KeyExists,
KeyNotFound,
}
Variants§
Trait Implementations§
Source§impl Debug for BitCaskError
impl Debug for BitCaskError
Source§impl Display for BitCaskError
impl Display for BitCaskError
Source§impl Error for BitCaskError
impl Error for BitCaskError
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<Error> for BitCaskError
impl From<Error> for BitCaskError
Auto Trait Implementations§
impl Freeze for BitCaskError
impl !RefUnwindSafe for BitCaskError
impl Send for BitCaskError
impl Sync for BitCaskError
impl Unpin for BitCaskError
impl !UnwindSafe for BitCaskError
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