pub struct TryIntoError<T> {
pub input: T,
/* private fields */
}
Expand description
Error returned by the derived TryInto
implementation.
Fields§
§input: T
Original input value which failed to convert via the derived
TryInto
implementation.
Trait Implementations§
Source§impl<T: Clone> Clone for TryIntoError<T>
impl<T: Clone> Clone for TryIntoError<T>
Source§fn clone(&self) -> TryIntoError<T>
fn clone(&self) -> TryIntoError<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for TryIntoError<T>
impl<T: Debug> Debug for TryIntoError<T>
Source§impl<T> Display for TryIntoError<T>
impl<T> Display for TryIntoError<T>
Source§impl<T: Debug> Error for TryIntoError<T>
impl<T: Debug> Error for TryIntoError<T>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl<T: Copy> Copy 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> UnwindSafe for TryIntoError<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more