Struct data_encoding::DecodeError
[−]
[src]
pub struct DecodeError { pub position: usize, pub kind: DecodeKind, }
Decoding error
Fields
position: usize
Error position
This position is always a valid input position and represents the first encountered error.
kind: DecodeKind
Error kind
Trait Implementations
impl Debug for DecodeError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for DecodeError
[src]
impl Clone for DecodeError
[src]
fn clone(&self) -> DecodeError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for DecodeError
[src]
fn eq(&self, __arg_0: &DecodeError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DecodeError) -> bool
[src]
This method tests for !=
.
impl Eq for DecodeError
[src]
impl Error for DecodeError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more