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§fn clone(&self) -> FromHexError<ParseErr>
fn clone(&self) -> FromHexError<ParseErr>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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<Infallible> for FromHexError<ParseErr>
Available on crate feature hex only.
impl<ParseErr> From<Infallible> 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
ParseErr: Freeze,
impl<ParseErr> RefUnwindSafe for FromHexError<ParseErr>where
ParseErr: RefUnwindSafe,
impl<ParseErr> Send for FromHexError<ParseErr>where
ParseErr: Send,
impl<ParseErr> Sync for FromHexError<ParseErr>where
ParseErr: Sync,
impl<ParseErr> Unpin for FromHexError<ParseErr>where
ParseErr: Unpin,
impl<ParseErr> UnsafeUnpin for FromHexError<ParseErr>where
ParseErr: UnsafeUnpin,
impl<ParseErr> UnwindSafe for FromHexError<ParseErr>where
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