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>