Enum b64_ct::FromBase64Error
source · pub enum FromBase64Error {
InvalidLength,
InvalidTrailer,
InvalidCharacter(usize),
}
Expand description
Errors that can occur when decoding a base64 encoded string
Variants§
InvalidLength
The input had an invalid length.
InvalidTrailer
A trailer was found, but it wasn’t the right length.
InvalidCharacter(usize)
The input contained a character (at the given index) not part of the base64 format.
Trait Implementations§
impl Copy for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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