pub struct DiscardedUsageSlot(/* private fields */);Expand description
One pre-reserved discard, obtained from DiscardedUsage::slot.
Trait Implementations§
Source§impl Debug for DiscardedUsageSlot
impl Debug for DiscardedUsageSlot
Source§impl UsageSlot for DiscardedUsageSlot
impl UsageSlot for DiscardedUsageSlot
fn record(self, _event: UsageEvent)
Auto Trait Implementations§
impl Freeze for DiscardedUsageSlot
impl RefUnwindSafe for DiscardedUsageSlot
impl Send for DiscardedUsageSlot
impl Sync for DiscardedUsageSlot
impl Unpin for DiscardedUsageSlot
impl UnsafeUnpin for DiscardedUsageSlot
impl UnwindSafe for DiscardedUsageSlot
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