Struct InvalidLength

struct InvalidLength

The error type returned when key and/or IV used in the KeyInit, KeyIvInit, and InnerIvInit slice-based methods had an invalid length.

Implementations

impl Clone for InvalidLength

fn clone(self: &Self) -> InvalidLength

impl Copy for InvalidLength

impl Debug for InvalidLength

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

impl Display for InvalidLength

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

impl Eq for InvalidLength

impl Error for InvalidLength

impl Freeze for InvalidLength

impl PartialEq for InvalidLength

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

impl RefUnwindSafe for InvalidLength

impl Send for InvalidLength

impl StructuralPartialEq for InvalidLength

impl Sync for InvalidLength

impl Unpin for InvalidLength

impl UnsafeUnpin for InvalidLength

impl UnwindSafe for InvalidLength

impl<T> Any for InvalidLength

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for InvalidLength

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

impl<T> BorrowMut for InvalidLength

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

impl<T> CloneToUninit for InvalidLength

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

impl<T> From for InvalidLength

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Same for InvalidLength

impl<T> ToOwned for InvalidLength

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

impl<T> ToString for InvalidLength

fn to_string(self: &Self) -> String

impl<T, U> Into for InvalidLength

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 InvalidLength

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

impl<T, U> TryInto for InvalidLength

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