pub enum SHA1ParseError {
IncorrectLength,
InvalidHexadecimal,
}
Variants§
Trait Implementations§
Source§impl Clone for SHA1ParseError
impl Clone for SHA1ParseError
Source§fn clone(&self) -> SHA1ParseError
fn clone(&self) -> SHA1ParseError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SHA1ParseError
impl Debug for SHA1ParseError
Source§impl Display for SHA1ParseError
impl Display for SHA1ParseError
Source§impl Error for SHA1ParseError
impl Error for SHA1ParseError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
impl Copy for SHA1ParseError
Auto Trait Implementations§
impl Freeze for SHA1ParseError
impl RefUnwindSafe for SHA1ParseError
impl Send for SHA1ParseError
impl Sync for SHA1ParseError
impl Unpin for SHA1ParseError
impl UnwindSafe for SHA1ParseError
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