Struct hex_conservative::error::InvalidCharError
source · pub struct InvalidCharError { /* private fields */ }
Expand description
Invalid hex character.
Implementations§
source§impl InvalidCharError
impl InvalidCharError
sourcepub fn invalid_char(&self) -> u8
pub fn invalid_char(&self) -> u8
Returns the invalid character byte.
Trait Implementations§
source§impl Clone for InvalidCharError
impl Clone for InvalidCharError
source§fn clone(&self) -> InvalidCharError
fn clone(&self) -> InvalidCharError
Returns a copy 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 InvalidCharError
impl Debug for InvalidCharError
source§impl Display for InvalidCharError
impl Display for InvalidCharError
source§impl Error for InvalidCharError
Available on crate feature std
only.
impl Error for InvalidCharError
Available on crate feature
std
only.source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<InvalidCharError> for HexToArrayError
impl From<InvalidCharError> for HexToArrayError
source§fn from(e: InvalidCharError) -> Self
fn from(e: InvalidCharError) -> Self
Converts to this type from the input type.
source§impl From<InvalidCharError> for HexToBytesError
impl From<InvalidCharError> for HexToBytesError
source§fn from(e: InvalidCharError) -> Self
fn from(e: InvalidCharError) -> Self
Converts to this type from the input type.
source§impl PartialEq for InvalidCharError
impl PartialEq for InvalidCharError
source§fn eq(&self, other: &InvalidCharError) -> bool
fn eq(&self, other: &InvalidCharError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InvalidCharError
impl StructuralPartialEq for InvalidCharError
Auto Trait Implementations§
impl Freeze for InvalidCharError
impl RefUnwindSafe for InvalidCharError
impl Send for InvalidCharError
impl Sync for InvalidCharError
impl Unpin for InvalidCharError
impl UnwindSafe for InvalidCharError
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