pub enum HumancodeError {
InputError(InputErrorCause),
UsageError(UsageErrorCause),
}
Expand description
Variants§
InputError(InputErrorCause)
An InputError indicates that an input array contained an invalid
value. For example, an invalid character being passed to
the decode_chunk
method.
UsageError(UsageErrorCause)
A UsageError indicates an error outside of an invalid input value.
Trait Implementations§
Source§impl Debug for HumancodeError
impl Debug for HumancodeError
Source§impl Display for HumancodeError
impl Display for HumancodeError
Source§impl Error for HumancodeError
impl Error for HumancodeError
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()
Auto Trait Implementations§
impl Freeze for HumancodeError
impl RefUnwindSafe for HumancodeError
impl Send for HumancodeError
impl Sync for HumancodeError
impl Unpin for HumancodeError
impl UnwindSafe for HumancodeError
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