pub enum HexValueError {
InvalidHex {
expected_bytes: usize,
},
}Variants§
Trait Implementations§
Source§impl Clone for HexValueError
impl Clone for HexValueError
Source§fn clone(&self) -> HexValueError
fn clone(&self) -> HexValueError
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 moreimpl Copy for HexValueError
Source§impl Debug for HexValueError
impl Debug for HexValueError
Source§impl Display for HexValueError
impl Display for HexValueError
impl Eq for HexValueError
Source§impl Error for HexValueError
impl Error for HexValueError
1.30.0 · 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 PartialEq for HexValueError
impl PartialEq for HexValueError
impl StructuralPartialEq for HexValueError
Auto Trait Implementations§
impl Freeze for HexValueError
impl RefUnwindSafe for HexValueError
impl Send for HexValueError
impl Sync for HexValueError
impl Unpin for HexValueError
impl UnsafeUnpin for HexValueError
impl UnwindSafe for HexValueError
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