pub enum TryIntoInnerError {
NotSupported,
Generic(&'static str),
}Expand description
Error returned when try_into_inner fails.
Variants§
NotSupported
The type does not support extracting an inner value.
Generic(&'static str)
A generic error message.
Trait Implementations§
Source§impl Debug for TryIntoInnerError
impl Debug for TryIntoInnerError
Source§impl Display for TryIntoInnerError
impl Display for TryIntoInnerError
Source§impl Error for TryIntoInnerError
impl Error for TryIntoInnerError
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 Freeze for TryIntoInnerError
impl RefUnwindSafe for TryIntoInnerError
impl Send for TryIntoInnerError
impl Sync for TryIntoInnerError
impl Unpin for TryIntoInnerError
impl UnsafeUnpin for TryIntoInnerError
impl UnwindSafe for TryIntoInnerError
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