Struct drop_tracker::NotAllDroppedError
source · [−]Expand description
Error returned when failing to assert that a set of items is all dropped.
See DropTracker::all_dropped for more information and examples.
Fields
alive: Vec<K>Sequence of keys that were expected to be dropped, but are alive.
untracked: Vec<K>Sequence of keys that were expected to be dropped, but are not tracked by the
DropTracker.
Trait Implementations
sourceimpl<K: Debug> Debug for NotAllDroppedError<K>
impl<K: Debug> Debug for NotAllDroppedError<K>
sourceimpl<K: Debug> Display for NotAllDroppedError<K>
impl<K: Debug> Display for NotAllDroppedError<K>
sourceimpl<K: Debug> Error for NotAllDroppedError<K>
impl<K: Debug> Error for NotAllDroppedError<K>
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<K: PartialEq> PartialEq<NotAllDroppedError<K>> for NotAllDroppedError<K>
impl<K: PartialEq> PartialEq<NotAllDroppedError<K>> for NotAllDroppedError<K>
sourcefn eq(&self, other: &NotAllDroppedError<K>) -> bool
fn eq(&self, other: &NotAllDroppedError<K>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &NotAllDroppedError<K>) -> bool
fn ne(&self, other: &NotAllDroppedError<K>) -> bool
This method tests for !=.
impl<K: Eq> Eq for NotAllDroppedError<K>
impl<K> StructuralEq for NotAllDroppedError<K>
impl<K> StructuralPartialEq for NotAllDroppedError<K>
Auto Trait Implementations
impl<K> RefUnwindSafe for NotAllDroppedError<K> where
K: RefUnwindSafe,
impl<K> Send for NotAllDroppedError<K> where
K: Send,
impl<K> Sync for NotAllDroppedError<K> where
K: Sync,
impl<K> Unpin for NotAllDroppedError<K> where
K: Unpin,
impl<K> UnwindSafe for NotAllDroppedError<K> where
K: UnwindSafe,
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