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