pub enum ParseHexError {
InvalidPrefix,
ParseInt(ParseIntError),
}Variants§
InvalidPrefix
ParseInt(ParseIntError)
Trait Implementations§
Source§impl Clone for ParseHexError
impl Clone for ParseHexError
Source§fn clone(&self) -> ParseHexError
fn clone(&self) -> ParseHexError
Returns a duplicate 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
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<ParseHexError> for Error
impl From<ParseHexError> for Error
Source§fn from(source: ParseHexError) -> Self
fn from(source: ParseHexError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for ParseHexError
impl From<ParseIntError> for ParseHexError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParseHexError
impl PartialEq for ParseHexError
impl Eq for ParseHexError
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