Struct TryIntoError
pub struct TryIntoError<T> { pub input: T, /* private fields */ }
Error returned by the derived TryInto implementation.
Fields
input: TOriginal input value which failed to convert via the derived
TryIntoimplementation.
Trait Implementations
impl<T> Display for TryIntoError<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T: Clone> Clone for TryIntoError<T>
fn clone(&self) -> TryIntoError<T>
impl<T: Copy> Copy for TryIntoError<T>
impl<T: Debug> Debug for TryIntoError<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T: Debug> Error for TryIntoError<T>
Auto Trait Implementations
impl<T> Freeze for TryIntoError<T>
where
T: Freeze,
impl<T> RefUnwindSafe for TryIntoError<T>
where
T: RefUnwindSafe,
impl<T> Send for TryIntoError<T>
where
T: Send,
impl<T> Sync for TryIntoError<T>
where
T: Sync,
impl<T> Unpin for TryIntoError<T>
where
T: Unpin,
impl<T> UnsafeUnpin for TryIntoError<T>
where
T: UnsafeUnpin,
impl<T> UnwindSafe for TryIntoError<T>
where
T: UnwindSafe,
Blanket Implementations
impl<T> Any for TryIntoError<T>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for TryIntoError<T>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for TryIntoError<T>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for TryIntoError<T>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for TryIntoError<T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for TryIntoError<T>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T> ToString for TryIntoError<T>
where
T: Display + ?Sized,
fn to_string(&self) -> String
impl<T, U> Into<U> for TryIntoError<T>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for TryIntoError<T>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for TryIntoError<T>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>