pub struct SomeDroppedError<'a, K> {
pub dropped: &'a K,
}
Expand description
Error returned when failing to assert that all tracked items are alive.
See DropTracker::fully_alive
for more information and examples.
Fields§
§dropped: &'a K
Reference to the first key that was found to have been be dropped.
Trait Implementations§
Source§impl<'a, K: Debug> Debug for SomeDroppedError<'a, K>
impl<'a, K: Debug> Debug for SomeDroppedError<'a, K>
Source§impl<'a, K: Debug> Display for SomeDroppedError<'a, K>
impl<'a, K: Debug> Display for SomeDroppedError<'a, K>
Source§impl<'a, K: Debug> Error for SomeDroppedError<'a, K>
impl<'a, K: Debug> Error for SomeDroppedError<'a, K>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 for SomeDroppedError<'a, K>
impl<'a, K: PartialEq> PartialEq for SomeDroppedError<'a, K>
impl<'a, K: Eq> Eq for SomeDroppedError<'a, K>
impl<'a, K> StructuralPartialEq for SomeDroppedError<'a, K>
Auto Trait Implementations§
impl<'a, K> Freeze for SomeDroppedError<'a, K>
impl<'a, K> RefUnwindSafe for SomeDroppedError<'a, K>where
K: RefUnwindSafe,
impl<'a, K> Send for SomeDroppedError<'a, K>where
K: Sync,
impl<'a, K> Sync for SomeDroppedError<'a, K>where
K: Sync,
impl<'a, K> Unpin for SomeDroppedError<'a, K>
impl<'a, K> UnwindSafe for SomeDroppedError<'a, K>where
K: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more