Struct HexError
pub struct HexError(/* private field */);
The error type for Hash::from_hex.
The .to_string() representation of this error currently distinguishes between bad length
errors and bad character errors. This is to help with logging and debugging, but it isn't a
stable API detail, and it may change at any time.
Trait Implementations
impl Clone for HexError
fn clone(&self) -> HexError
impl Debug for HexError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for HexError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Error for HexError
Auto Trait Implementations
impl Freeze for HexError
impl RefUnwindSafe for HexError
impl Send for HexError
impl Sync for HexError
impl Unpin for HexError
impl UnsafeUnpin for HexError
impl UnwindSafe for HexError
Blanket Implementations
impl<T> Any for HexError
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for HexError
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for HexError
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for HexError
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for HexError
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for HexError
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T> ToString for HexError
where
T: Display + ?Sized,
fn to_string(&self) -> String
impl<T, U> Into<U> for HexError
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for HexError
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for HexError
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>