pub enum TryIntoInnerError {
Unavailable,
Other(&'static str),
}
Expand description
Error type returned by TryIntoInnerFn
when attempting to extract
the inner value from a wrapper type.
Variants§
Indicates that the inner value cannot be extracted at this time, such as when a mutable borrow is already active.
Other(&'static str)
Indicates that another unspecified error occurred during extraction.
Trait Implementations§
Source§impl Clone for TryIntoInnerError
impl Clone for TryIntoInnerError
Source§fn clone(&self) -> TryIntoInnerError
fn clone(&self) -> TryIntoInnerError
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 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()
Source§impl PartialEq for TryIntoInnerError
impl PartialEq for TryIntoInnerError
impl Eq for TryIntoInnerError
impl StructuralPartialEq for TryIntoInnerError
Auto Trait Implementations§
impl Freeze for TryIntoInnerError
impl RefUnwindSafe for TryIntoInnerError
impl Send for TryIntoInnerError
impl Sync for TryIntoInnerError
impl Unpin 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