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: T

Original input value which failed to convert via the derived TryFrom implementation.

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

impl<T: Debug> Error for TryFromReprError<T>

Auto Trait Implementations

impl<T> Freeze for TryFromReprError<T> where T: Freeze,

impl<T> RefUnwindSafe for TryFromReprError<T> where T: RefUnwindSafe,

impl<T> Send for TryFromReprError<T> where T: Send,

impl<T> Sync for TryFromReprError<T> where T: Sync,

impl<T> Unpin for TryFromReprError<T> where T: Unpin,

impl<T> UnsafeUnpin for TryFromReprError<T> where T: UnsafeUnpin,

impl<T> UnwindSafe for TryFromReprError<T> where T: UnwindSafe,

Blanket Implementations

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

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

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

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

impl<T> From<T> for TryFromReprError<T>

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

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

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

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

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