Struct drop_tracker::NotTrackedError
source · [−]pub struct NotTrackedError;Expand description
Error returned when failing to query the status of an item with a key that is not known to DropTracker.
See DropTracker::try_state for more information and examples.
Trait Implementations
sourceimpl Debug for NotTrackedError
impl Debug for NotTrackedError
sourceimpl Display for NotTrackedError
impl Display for NotTrackedError
sourceimpl Error for NotTrackedError
impl Error for NotTrackedError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl PartialEq<NotTrackedError> for NotTrackedError
impl PartialEq<NotTrackedError> for NotTrackedError
impl Eq for NotTrackedError
impl StructuralEq for NotTrackedError
impl StructuralPartialEq for NotTrackedError
Auto Trait Implementations
impl RefUnwindSafe for NotTrackedError
impl Send for NotTrackedError
impl Sync for NotTrackedError
impl Unpin for NotTrackedError
impl UnwindSafe for NotTrackedError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more