Struct DifferentVariant

pub struct DifferentVariant;

An error type indicating that a TryFrom call failed because the original value was of a different variant.

Trait Implementations

impl Clone for DifferentVariant

fn clone(&self) -> Self

impl Copy for DifferentVariant

impl Debug for DifferentVariant

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

impl Display for DifferentVariant

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

impl Eq for DifferentVariant

impl Error for DifferentVariant

impl PartialEq for DifferentVariant

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

impl StructuralPartialEq for DifferentVariant

impl TryFrom<Error> for DifferentVariant

type Error = DifferentVariant;
fn try_from(err: Error) -> Result<Self, Self::Error>

Auto Trait Implementations

impl Freeze for DifferentVariant

impl RefUnwindSafe for DifferentVariant

impl Send for DifferentVariant

impl Sync for DifferentVariant

impl Unpin for DifferentVariant

impl UnsafeUnpin for DifferentVariant

impl UnwindSafe for DifferentVariant

Blanket Implementations

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

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

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

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

impl<T> From<T> for DifferentVariant

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

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

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

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

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