pub enum HexToBytesError {
InvalidChar(u8),
OddLengthString(usize),
}Expand description
Hex decoding error.
Variants§
InvalidChar(u8)
Non-hexadecimal character.
OddLengthString(usize)
Purported hex string had odd length.
Trait Implementations§
Source§impl Clone for HexToBytesError
impl Clone for HexToBytesError
Source§fn clone(&self) -> HexToBytesError
fn clone(&self) -> HexToBytesError
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 HexToBytesError
impl Debug for HexToBytesError
Source§impl Display for HexToBytesError
impl Display for HexToBytesError
Source§impl From<HexToBytesError> for HexToArrayError
impl From<HexToBytesError> for HexToArrayError
Source§fn from(e: HexToBytesError) -> Self
fn from(e: HexToBytesError) -> Self
Converts to this type from the input type.
Source§impl Hash for HexToBytesError
impl Hash for HexToBytesError
Source§impl Ord for HexToBytesError
impl Ord for HexToBytesError
Source§fn cmp(&self, other: &HexToBytesError) -> Ordering
fn cmp(&self, other: &HexToBytesError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HexToBytesError
impl PartialEq for HexToBytesError
Source§impl PartialOrd for HexToBytesError
impl PartialOrd for HexToBytesError
impl Copy for HexToBytesError
impl Eq for HexToBytesError
impl StructuralPartialEq for HexToBytesError
Auto Trait Implementations§
impl Freeze for HexToBytesError
impl RefUnwindSafe for HexToBytesError
impl Send for HexToBytesError
impl Sync for HexToBytesError
impl Unpin for HexToBytesError
impl UnwindSafe for HexToBytesError
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