Enum base64::DecodeError
[−]
[src]
pub enum DecodeError { InvalidByte(usize, u8), InvalidLength, }
Errors that can occur while decoding.
Variants
InvalidByte(usize, u8)
An invalid byte was found in the input. The offset and offending byte are provided.
InvalidLength
The length of the input is invalid.
Trait Implementations
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 Debug for DecodeError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. 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 Display for DecodeError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more