Struct TryFromReprError
struct TryFromReprError<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.
Implementations
impl<T> Any for TryFromReprError<T>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for TryFromReprError<T>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for TryFromReprError<T>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for TryFromReprError<T>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> Freeze for TryFromReprError<T>
impl<T> From for TryFromReprError<T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> RefUnwindSafe for TryFromReprError<T>
impl<T> Send for TryFromReprError<T>
impl<T> Sync for TryFromReprError<T>
impl<T> ToOwned for TryFromReprError<T>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T> ToString for TryFromReprError<T>
fn to_string(self: &Self) -> String
impl<T> Unpin for TryFromReprError<T>
impl<T> UnsafeUnpin for TryFromReprError<T>
impl<T> UnwindSafe for TryFromReprError<T>
impl<T, U> Into for TryFromReprError<T>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for TryFromReprError<T>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for TryFromReprError<T>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T: $crate::clone::Clone> Clone for TryFromReprError<T>
fn clone(self: &Self) -> TryFromReprError<T>
impl<T: $crate::fmt::Debug> Debug for TryFromReprError<T>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<T: $crate::marker::Copy> Copy for TryFromReprError<T>
impl<T: fmt::Debug> Display for TryFromReprError<T>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result