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