Enum ffsend_api::crypto::b64::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.
InvalidLengthThe length of the input is invalid.
Trait Implementations
impl Display for DecodeError[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more
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>[src]
The lower-level cause of this error, if any. Read more
impl PartialEq<DecodeError> 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 !=.