Struct drop_tracker::AliveError
source · pub struct AliveError;Expand description
Error signaling that an item was expected to have been dropped, but it’s alive.
See State::dropped for more information and examples.
Trait Implementations§
source§impl Debug for AliveError
impl Debug for AliveError
source§impl Display for AliveError
impl Display for AliveError
source§impl Error for AliveError
impl Error for AliveError
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 PartialEq<AliveError> for AliveError
impl PartialEq<AliveError> for AliveError
source§fn eq(&self, other: &AliveError) -> bool
fn eq(&self, other: &AliveError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.