Struct WrongVariantError
struct WrongVariantError { ... }
Error returned by the derived implementations when an arithmetic or logic operation is invoked on mismatched enum variants.
Implementations
impl Clone for WrongVariantError
fn clone(self: &Self) -> WrongVariantError
impl Copy for WrongVariantError
impl Debug for WrongVariantError
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Display for WrongVariantError
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Error for WrongVariantError
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
impl<T> Any for WrongVariantError
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for WrongVariantError
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for WrongVariantError
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for WrongVariantError
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for WrongVariantError
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for WrongVariantError
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T> ToString for WrongVariantError
fn to_string(self: &Self) -> String
impl<T, U> Into for WrongVariantError
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for WrongVariantError
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for WrongVariantError
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>