Enum tari_utilities::hex::HexError
source · pub enum HexError {
InvalidCharacter {},
LengthError {},
HexConversionError {},
}
Expand description
Errors for Hex trait.
Variants§
Trait Implementations§
source§impl ErrorCompat for HexError
impl ErrorCompat for HexError
source§fn iter_chain(&self) -> ChainCompat<'_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_>where Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for HexError
impl Send for HexError
impl Sync for HexError
impl Unpin for HexError
impl UnwindSafe for HexError
Blanket Implementations§
source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere T: Error + 'static,
source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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