Struct WrongVariantError

pub struct WrongVariantError { /* private fields */ }

Error returned by the derived implementations when an arithmetic or logic operation is invoked on mismatched enum variants.

Trait Implementations

impl Clone for WrongVariantError

fn clone(&self) -> Self

impl Copy for WrongVariantError

impl Debug for WrongVariantError

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

impl Display for WrongVariantError

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

impl Error for WrongVariantError

Auto Trait Implementations

impl Freeze for WrongVariantError

impl RefUnwindSafe for WrongVariantError

impl Send for WrongVariantError

impl Sync for WrongVariantError

impl Unpin for WrongVariantError

impl UnsafeUnpin for WrongVariantError

impl UnwindSafe for WrongVariantError

Blanket Implementations

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

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

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

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

impl<T> From<T> for WrongVariantError

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

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

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

impl<T, U> TryFrom<U> for WrongVariantError where U: Into<T>,

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