Struct TryFromReprError
pub struct TryFromReprError<T> { pub input: T }
Error returned by the derived TryFrom implementation on enums to
convert from their repr.
Fields
input: TOriginal input value which failed to convert via the derived
TryFromimplementation.
Trait Implementations
impl<T: Clone> Clone for TryFromReprError<T>
fn clone(&self) -> Self
impl<T: Copy> Copy for TryFromReprError<T>
impl<T: Debug> Debug for TryFromReprError<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T: Debug> Display for TryFromReprError<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result