pub struct TryFromError<Raw> { /* private fields */ }Expand description
Error that can occur when converting from a primitive type.
Trait Implementations§
Source§impl<Raw> Clone for TryFromError<Raw>where
Raw: Clone,
impl<Raw> Clone for TryFromError<Raw>where
Raw: Clone,
Source§fn clone(&self) -> TryFromError<Raw>
fn clone(&self) -> TryFromError<Raw>
Returns a duplicate 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<Raw> Debug for TryFromError<Raw>where
Raw: Debug,
impl<Raw> Debug for TryFromError<Raw>where
Raw: Debug,
Source§impl<Raw> Display for TryFromError<Raw>where
Raw: Debug,
impl<Raw> Display for TryFromError<Raw>where
Raw: Debug,
Source§impl<Raw> Error for TryFromError<Raw>where
Raw: Debug,
impl<Raw> Error for TryFromError<Raw>where
Raw: Debug,
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()
Auto Trait Implementations§
impl<Raw> Freeze for TryFromError<Raw>where
Raw: Freeze,
impl<Raw> RefUnwindSafe for TryFromError<Raw>where
Raw: RefUnwindSafe,
impl<Raw> Send for TryFromError<Raw>where
Raw: Send,
impl<Raw> Sync for TryFromError<Raw>where
Raw: Sync,
impl<Raw> Unpin for TryFromError<Raw>where
Raw: Unpin,
impl<Raw> UnwindSafe for TryFromError<Raw>where
Raw: 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