Enum short_crypt::base64::DecodeError [−]
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 Error for DecodeError
impl Error for DecodeErrorfn description(&self) -> &str
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl Display for DecodeError
impl Display for DecodeErrorfn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Clone for DecodeError
impl Clone for DecodeErrorfn clone(&self) -> DecodeError
fn clone(&self) -> DecodeErrorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for DecodeError
impl Debug for DecodeErrorfn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Eq for DecodeError
impl Eq for DecodeErrorimpl PartialEq<DecodeError> for DecodeError
impl PartialEq<DecodeError> for DecodeErrorfn eq(&self, other: &DecodeError) -> bool
fn eq(&self, other: &DecodeError) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &DecodeError) -> bool
fn ne(&self, other: &DecodeError) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for DecodeError
impl Send for DecodeErrorimpl Sync for DecodeError
impl Sync for DecodeError