pub enum DiskMapError {
IOError(Error),
CustomError(String),
KeyNotFound,
}
Variants§
Trait Implementations§
Source§impl Debug for DiskMapError
impl Debug for DiskMapError
Source§impl Display for DiskMapError
impl Display for DiskMapError
Source§impl Error for DiskMapError
impl Error for DiskMapError
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()
Source§impl From<DecodeError> for DiskMapError
impl From<DecodeError> for DiskMapError
Source§fn from(error: DecodeError) -> Self
fn from(error: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<EncodeError> for DiskMapError
impl From<EncodeError> for DiskMapError
Source§fn from(error: EncodeError) -> Self
fn from(error: EncodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for DiskMapError
impl From<Error> for DiskMapError
Auto Trait Implementations§
impl Freeze for DiskMapError
impl !RefUnwindSafe for DiskMapError
impl Send for DiskMapError
impl Sync for DiskMapError
impl Unpin for DiskMapError
impl !UnwindSafe for DiskMapError
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