Enum EncodeSliceError

enum EncodeSliceError

Errors that can occur while encoding into a slice.

Variants

OutputSliceTooSmall

The provided slice is too small.

Implementations

impl Clone for EncodeSliceError

fn clone(self: &Self) -> EncodeSliceError

impl Debug for EncodeSliceError

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

impl Display for EncodeSliceError

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

impl Eq for EncodeSliceError

impl Error for EncodeSliceError

impl Freeze for EncodeSliceError

impl PartialEq for EncodeSliceError

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

impl RefUnwindSafe for EncodeSliceError

impl Send for EncodeSliceError

impl StructuralPartialEq for EncodeSliceError

impl Sync for EncodeSliceError

impl Unpin for EncodeSliceError

impl UnsafeUnpin for EncodeSliceError

impl UnwindSafe for EncodeSliceError

impl<T> Any for EncodeSliceError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for EncodeSliceError

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

impl<T> BorrowMut for EncodeSliceError

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

impl<T> CloneToUninit for EncodeSliceError

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

impl<T> From for EncodeSliceError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for EncodeSliceError

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

impl<T> ToString for EncodeSliceError

fn to_string(self: &Self) -> String

impl<T, U> Into for EncodeSliceError

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 EncodeSliceError

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

impl<T, U> TryInto for EncodeSliceError

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