pub enum ParseHashError {
MissingPrefix,
ParseError(ParseIntError),
}Variants§
MissingPrefix
The error returned when the numeric hash string doesn’t begin with “0x”
ParseError(ParseIntError)
The error returned when the hexadecimal part of the hash string cannot be parsed
Trait Implementations§
Source§impl Clone for ParseHashError
impl Clone for ParseHashError
Source§fn clone(&self) -> ParseHashError
fn clone(&self) -> ParseHashError
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 ParseHashError
impl Debug for ParseHashError
Source§impl From<ParseHashError> for CustomLabelError
impl From<ParseHashError> for CustomLabelError
Source§fn from(err: ParseHashError) -> Self
fn from(err: ParseHashError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for ParseHashError
impl From<ParseIntError> for ParseHashError
Source§fn from(err: ParseIntError) -> Self
fn from(err: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParseHashError
impl PartialEq for ParseHashError
impl Eq for ParseHashError
impl StructuralPartialEq for ParseHashError
Auto Trait Implementations§
impl Freeze for ParseHashError
impl RefUnwindSafe for ParseHashError
impl Send for ParseHashError
impl Sync for ParseHashError
impl Unpin for ParseHashError
impl UnwindSafe for ParseHashError
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