pub enum ParseHexError {
InvalidChar(char),
WrongLength,
}
Variants§
Trait Implementations§
source§impl Clone for ParseHexError
impl Clone for ParseHexError
source§fn clone(&self) -> ParseHexError
fn clone(&self) -> ParseHexError
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 ParseHexError
impl Debug for ParseHexError
source§impl Display for ParseHexError
impl Display for ParseHexError
source§impl Error for ParseHexError
impl Error for ParseHexError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 ParseHexError
impl PartialEq for ParseHexError
source§fn eq(&self, other: &ParseHexError) -> bool
fn eq(&self, other: &ParseHexError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ParseHexError
Auto Trait Implementations§
impl Freeze for ParseHexError
impl RefUnwindSafe for ParseHexError
impl Send for ParseHexError
impl Sync for ParseHexError
impl Unpin for ParseHexError
impl UnwindSafe for ParseHexError
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