pub enum DigestParseError {
Length {
expected: usize,
found: usize,
},
Char {
ch: char,
index: usize,
},
}Expand description
A digest was not valid lowercase hex of the right length.
Variants§
Trait Implementations§
Source§impl Debug for DigestParseError
impl Debug for DigestParseError
Source§impl Display for DigestParseError
impl Display for DigestParseError
Source§impl Error for DigestParseError
impl Error for DigestParseError
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 DigestParseError
impl RefUnwindSafe for DigestParseError
impl Send for DigestParseError
impl Sync for DigestParseError
impl Unpin for DigestParseError
impl UnsafeUnpin for DigestParseError
impl UnwindSafe for DigestParseError
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