pub struct FromHexError<ParseErr>(/* private fields */);Expand description
An error that can occur when decoding from a hex string.
Trait Implementations§
Source§impl<ParseErr: Clone> Clone for FromHexError<ParseErr>
impl<ParseErr: Clone> Clone for FromHexError<ParseErr>
Source§impl<ParseErr: Debug> Debug for FromHexError<ParseErr>
impl<ParseErr: Debug> Debug for FromHexError<ParseErr>
Source§impl<ParseErr: Display> Display for FromHexError<ParseErr>
Available on crate feature hex only.
impl<ParseErr: Display> Display for FromHexError<ParseErr>
Available on crate feature
hex only.impl<ParseErr: Eq> Eq for FromHexError<ParseErr>
Source§impl<ParseErr> Error for FromHexError<ParseErr>where
ParseErr: Error + 'static,
Available on crate features hex and std only.
impl<ParseErr> Error for FromHexError<ParseErr>where
ParseErr: Error + 'static,
Available on crate features
hex and std only.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<ParseErr> From<!> for FromHexError<ParseErr>
Available on crate feature hex only.
impl<ParseErr> From<!> for FromHexError<ParseErr>
Available on crate feature
hex only.Source§fn from(never: Infallible) -> Self
fn from(never: Infallible) -> Self
Converts to this type from the input type.
Source§impl<ParseErr: PartialEq> PartialEq for FromHexError<ParseErr>
impl<ParseErr: PartialEq> PartialEq for FromHexError<ParseErr>
impl<ParseErr: PartialEq> StructuralPartialEq for FromHexError<ParseErr>
Auto Trait Implementations§
impl<ParseErr> Freeze for FromHexError<ParseErr>where
FromHexErrorInner<ParseErr>: Freeze,
impl<ParseErr> RefUnwindSafe for FromHexError<ParseErr>where
FromHexErrorInner<ParseErr>: RefUnwindSafe,
impl<ParseErr> Send for FromHexError<ParseErr>where
FromHexErrorInner<ParseErr>: Send,
impl<ParseErr> Sync for FromHexError<ParseErr>where
FromHexErrorInner<ParseErr>: Sync,
impl<ParseErr> Unpin for FromHexError<ParseErr>where
FromHexErrorInner<ParseErr>: Unpin,
impl<ParseErr> UnsafeUnpin for FromHexError<ParseErr>where
FromHexErrorInner<ParseErr>: UnsafeUnpin,
impl<ParseErr> UnwindSafe for FromHexError<ParseErr>where
FromHexErrorInner<ParseErr>: UnwindSafe,
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