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§
source§impl<K: Debug> Debug for NotAllDroppedError<K>
impl<K: Debug> Debug for NotAllDroppedError<K>
source§impl<K: Debug> Display for NotAllDroppedError<K>
impl<K: Debug> Display for NotAllDroppedError<K>
source§impl<K: Debug> Error for NotAllDroppedError<K>
impl<K: Debug> Error for NotAllDroppedError<K>
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<K: PartialEq> PartialEq<NotAllDroppedError<K>> for NotAllDroppedError<K>
impl<K: PartialEq> PartialEq<NotAllDroppedError<K>> for NotAllDroppedError<K>
source§fn 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 ==.