pub struct NotARuntimeReason(pub ReasonKind);Expand description
The reason is not one of the four runtime reasons.
Tuple Fields§
§0: ReasonKindTrait Implementations§
Source§impl Clone for NotARuntimeReason
impl Clone for NotARuntimeReason
impl Copy for NotARuntimeReason
Source§impl Debug for NotARuntimeReason
impl Debug for NotARuntimeReason
Source§impl Display for NotARuntimeReason
impl Display for NotARuntimeReason
impl Eq for NotARuntimeReason
Source§impl Error for NotARuntimeReason
impl Error for NotARuntimeReason
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 NotARuntimeReason
impl PartialEq for NotARuntimeReason
impl StructuralPartialEq for NotARuntimeReason
Auto Trait Implementations§
impl Freeze for NotARuntimeReason
impl RefUnwindSafe for NotARuntimeReason
impl Send for NotARuntimeReason
impl Sync for NotARuntimeReason
impl Unpin for NotARuntimeReason
impl UnsafeUnpin for NotARuntimeReason
impl UnwindSafe for NotARuntimeReason
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