pub struct DropCounts<Reason> { /* private fields */ }Expand description
Fixed-capacity aggregate counters keyed by a caller’s drop taxonomy.
Implementations§
Trait Implementations§
Source§impl<Reason: Clone> Clone for DropCounts<Reason>
impl<Reason: Clone> Clone for DropCounts<Reason>
Source§impl<Reason: Debug> Debug for DropCounts<Reason>
impl<Reason: Debug> Debug for DropCounts<Reason>
impl<Reason: Eq> Eq for DropCounts<Reason>
Source§impl<Reason: PartialEq> PartialEq for DropCounts<Reason>
impl<Reason: PartialEq> PartialEq for DropCounts<Reason>
impl<Reason: PartialEq> StructuralPartialEq for DropCounts<Reason>
Auto Trait Implementations§
impl<Reason> Freeze for DropCounts<Reason>where
PhantomData<Reason>: Freeze,
impl<Reason> RefUnwindSafe for DropCounts<Reason>where
PhantomData<Reason>: RefUnwindSafe,
impl<Reason> Send for DropCounts<Reason>where
PhantomData<Reason>: Send,
impl<Reason> Sync for DropCounts<Reason>where
PhantomData<Reason>: Sync,
impl<Reason> Unpin for DropCounts<Reason>where
PhantomData<Reason>: Unpin,
impl<Reason> UnsafeUnpin for DropCounts<Reason>where
PhantomData<Reason>: UnsafeUnpin,
impl<Reason> UnwindSafe for DropCounts<Reason>where
PhantomData<Reason>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.