Enum DecodeSliceError

enum DecodeSliceError

Errors that can occur while decoding into a slice.

Variants

DecodeError(DecodeError)

A [DecodeError] occurred

OutputSliceTooSmall

The provided slice is too small.

Implementations

impl Clone for DecodeSliceError

fn clone(self: &Self) -> DecodeSliceError

impl Debug for DecodeSliceError

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Display for DecodeSliceError

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Eq for DecodeSliceError

impl Error for DecodeSliceError

fn source(self: &Self) -> Option<&dyn Error + 'static>

impl Freeze for DecodeSliceError

impl From for DecodeSliceError

fn from(e: DecodeError) -> Self

impl PartialEq for DecodeSliceError

fn eq(self: &Self, other: &DecodeSliceError) -> bool

impl RefUnwindSafe for DecodeSliceError

impl Send for DecodeSliceError

impl StructuralPartialEq for DecodeSliceError

impl Sync for DecodeSliceError

impl Unpin for DecodeSliceError

impl UnsafeUnpin for DecodeSliceError

impl UnwindSafe for DecodeSliceError

impl<T> Any for DecodeSliceError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for DecodeSliceError

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for DecodeSliceError

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for DecodeSliceError

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for DecodeSliceError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for DecodeSliceError

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> ToString for DecodeSliceError

fn to_string(self: &Self) -> String

impl<T, U> Into for DecodeSliceError

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for DecodeSliceError

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for DecodeSliceError

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>