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