Struct drop_tracker::SomeAliveError
source · pub struct SomeAliveError<'a, K> {
pub alive: &'a K,
}Expand description
Error returned when failing to assert that all tracked items are dropped.
See DropTracker::fully_dropped for more information and examples.
Fields§
§alive: &'a KReference to the first key that was found alive.
Trait Implementations§
source§impl<'a, K: Debug> Debug for SomeAliveError<'a, K>
impl<'a, K: Debug> Debug for SomeAliveError<'a, K>
source§impl<'a, K: Debug> Display for SomeAliveError<'a, K>
impl<'a, K: Debug> Display for SomeAliveError<'a, K>
source§impl<'a, K: Debug> Error for SomeAliveError<'a, K>
impl<'a, K: Debug> Error for SomeAliveError<'a, 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<'a, K: PartialEq> PartialEq<SomeAliveError<'a, K>> for SomeAliveError<'a, K>
impl<'a, K: PartialEq> PartialEq<SomeAliveError<'a, K>> for SomeAliveError<'a, K>
source§fn eq(&self, other: &SomeAliveError<'a, K>) -> bool
fn eq(&self, other: &SomeAliveError<'a, K>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.