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
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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<EncodeSliceError> for EncodeSliceError
impl PartialEq<EncodeSliceError> 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 ==
.