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