Enum base64::EncodeSliceError
source · pub enum EncodeSliceError {
OutputSliceTooSmall,
}
Expand description
Errors that can occur while encoding into a slice.
Variants§
OutputSliceTooSmall
The provided slice is too small.
Trait Implementations§
source§impl Clone for EncodeSliceError
impl Clone for EncodeSliceError
source§fn clone(&self) -> EncodeSliceError
fn clone(&self) -> EncodeSliceError
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 EncodeSliceError
impl Debug for EncodeSliceError
source§impl Display for EncodeSliceError
impl Display for EncodeSliceError
source§impl Error for EncodeSliceError
impl Error for EncodeSliceError
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 PartialEq for EncodeSliceError
impl PartialEq for EncodeSliceError
source§fn eq(&self, other: &EncodeSliceError) -> bool
fn eq(&self, other: &EncodeSliceError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EncodeSliceError
impl StructuralPartialEq for EncodeSliceError
Auto Trait Implementations§
impl Freeze for EncodeSliceError
impl RefUnwindSafe for EncodeSliceError
impl Send for EncodeSliceError
impl Sync for EncodeSliceError
impl Unpin for EncodeSliceError
impl UnwindSafe for EncodeSliceError
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