Struct MacError

pub struct MacError;

Error type for when the Output of a Mac is not equal to the expected value.

Trait Implementations

impl Clone for MacError

fn clone(&self) -> MacError

impl Copy for MacError

impl Debug for MacError

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

impl Default for MacError

fn default() -> MacError

impl Display for MacError

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

impl Eq for MacError

impl Error for MacError

impl PartialEq for MacError

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

impl StructuralPartialEq for MacError

Auto Trait Implementations

impl Freeze for MacError

impl RefUnwindSafe for MacError

impl Send for MacError

impl Sync for MacError

impl Unpin for MacError

impl UnsafeUnpin for MacError

impl UnwindSafe for MacError

Blanket Implementations

impl<T> Any for MacError where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for MacError where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for MacError where T: ?Sized,

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

impl<T> CloneToUninit for MacError where T: Clone,

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

impl<T> From<T> for MacError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Same for MacError

type Output = T;

impl<T> ToOwned for MacError where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T> ToString for MacError where T: Display + ?Sized,

fn to_string(&self) -> String

impl<T, U> Into<U> for MacError where U: From<T>,

fn into(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<U> for MacError where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for MacError where U: TryFrom<T>,

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