Struct InvalidVariant
pub struct InvalidVariant;
An error type indicating that a FromStr call failed because the value
was not a valid variant.
Trait Implementations
impl Clone for InvalidVariant
fn clone(&self) -> Self
impl Copy for InvalidVariant
impl Debug for InvalidVariant
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for InvalidVariant
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for InvalidVariant
impl Error for InvalidVariant
impl PartialEq for InvalidVariant
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for InvalidVariant
impl TryFrom<Error> for InvalidVariant
type Error = DifferentVariant;fn try_from(err: Error) -> Result<Self, Self::Error>