Struct TryUnwrapError

pub struct TryUnwrapError<T> { pub input: T, /* private fields */ }

Error returned by the derived TryUnwrap implementation.

Fields

input: T

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

Trait Implementations

impl<T> Display for TryUnwrapError<T>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<T: Clone> Clone for TryUnwrapError<T>

fn clone(&self) -> Self

impl<T: Copy> Copy for TryUnwrapError<T>

impl<T: Debug> Debug for TryUnwrapError<T>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

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

impl<T: PartialEq> PartialEq for TryUnwrapError<T>

fn eq(&self, other: &Self) -> bool

impl<T: PartialEq> StructuralPartialEq for TryUnwrapError<T>

Auto Trait Implementations

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

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

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

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

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

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

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

Blanket Implementations

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

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

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

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

impl<T> From<T> for TryUnwrapError<T>

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

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

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

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

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