pub enum Base64Error {
Invalid,
OutputFull,
Truncated,
}Expand description
Failure of a Base64 stream operation.
Variants§
Invalid
Invalid input, a finished encoder given more data, or invalid state.
OutputFull
The output buffer is too small for this call.
Truncated
The decoder reached the end with an incomplete group.
Trait Implementations§
Source§impl Clone for Base64Error
impl Clone for Base64Error
impl Copy for Base64Error
Source§impl Debug for Base64Error
impl Debug for Base64Error
Source§impl Display for Base64Error
impl Display for Base64Error
impl Eq 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)>
Returns 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 PartialEq for Base64Error
impl PartialEq for Base64Error
impl StructuralPartialEq for Base64Error
Auto Trait Implementations§
impl Forget for Base64Error
impl Freeze for Base64Error
impl RefUnwindSafe for Base64Error
impl Send for Base64Error
impl Sync for Base64Error
impl Unpin for Base64Error
impl UnsafeUnpin 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