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
sourceimpl Clone for EncodeSliceError
impl Clone for EncodeSliceError
sourcefn clone(&self) -> EncodeSliceError
fn clone(&self) -> EncodeSliceError
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for EncodeSliceError
impl Debug for EncodeSliceError
sourceimpl Display for EncodeSliceError
impl Display for EncodeSliceError
sourceimpl Error for EncodeSliceError
impl Error for EncodeSliceError
sourcefn 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 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl PartialEq<EncodeSliceError> for EncodeSliceError
impl PartialEq<EncodeSliceError> for EncodeSliceError
sourcefn eq(&self, other: &EncodeSliceError) -> bool
fn eq(&self, other: &EncodeSliceError) -> bool
impl Eq for EncodeSliceError
impl StructuralEq for EncodeSliceError
impl StructuralPartialEq for EncodeSliceError
Auto Trait Implementations
impl RefUnwindSafe for EncodeSliceError
impl Send for EncodeSliceError
impl Sync for EncodeSliceError
impl Unpin for EncodeSliceError
impl UnwindSafe for EncodeSliceError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more