pub struct HashVersionError(pub u8);Expand description
Error when converting an on-disk hash-version byte to HashAlgo.
Tuple Fields§
§0: u8Trait Implementations§
Source§impl Clone for HashVersionError
impl Clone for HashVersionError
impl Copy for HashVersionError
Source§impl Debug for HashVersionError
impl Debug for HashVersionError
Source§impl Display for HashVersionError
impl Display for HashVersionError
impl Eq for HashVersionError
Source§impl Error for HashVersionError
impl Error for HashVersionError
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 PartialEq for HashVersionError
impl PartialEq for HashVersionError
impl StructuralPartialEq for HashVersionError
Auto Trait Implementations§
impl Freeze for HashVersionError
impl RefUnwindSafe for HashVersionError
impl Send for HashVersionError
impl Sync for HashVersionError
impl Unpin for HashVersionError
impl UnsafeUnpin for HashVersionError
impl UnwindSafe for HashVersionError
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