Enum lib_base64::Base64Error
source · pub enum Base64Error {
InvalidDataLenght,
InvalidBase64Data,
EncodingError,
}
Variants§
InvalidDataLenght
Invalid input data length (must be a multiple of 4)
InvalidBase64Data
Incorrectly encoded input data
EncodingError
Encoding error
Trait Implementations§
source§impl Clone for Base64Error
impl Clone for Base64Error
source§fn clone(&self) -> Base64Error
fn clone(&self) -> Base64Error
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Base64Error
impl Debug for Base64Error
source§impl Display for Base64Error
impl Display for Base64Error
source§impl Error for Base64Error
impl Error for Base64Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl From<FromUtf8Error> for Base64Error
impl From<FromUtf8Error> for Base64Error
source§fn from(_e: FromUtf8Error) -> Base64Error
fn from(_e: FromUtf8Error) -> Base64Error
Converts to this type from the input type.
source§impl From<ParseIntError> for Base64Error
impl From<ParseIntError> for Base64Error
source§fn from(_e: ParseIntError) -> Base64Error
fn from(_e: ParseIntError) -> Base64Error
Converts to this type from the input type.
source§impl From<Utf8Error> for Base64Error
impl From<Utf8Error> for Base64Error
source§fn from(_e: Utf8Error) -> Base64Error
fn from(_e: Utf8Error) -> Base64Error
Converts to this type from the input type.
source§impl PartialEq for Base64Error
impl PartialEq for Base64Error
source§fn eq(&self, other: &Base64Error) -> bool
fn eq(&self, other: &Base64Error) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Base64Error
impl StructuralPartialEq for Base64Error
Auto Trait Implementations§
impl Freeze for Base64Error
impl RefUnwindSafe for Base64Error
impl Send for Base64Error
impl Sync for Base64Error
impl Unpin for Base64Error
impl UnwindSafe for Base64Error
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