pub(crate) enum Error {
InvalidCharacter(u8),
PrematurePadding,
InvalidTrailingPadding,
InsufficientOutputSpace,
}
Variants§
InvalidCharacter(u8)
Given character is not valid in base64 alphabet.
PrematurePadding
A padding character (=
) appeared outside the final
block of 4 characters.
InvalidTrailingPadding
The padding characters at the end of the input were invalid.
InsufficientOutputSpace
Not enough space in output buffer.
Use decoded_length
to get an upper bound.
Trait Implementations§
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