pub struct MetricGuard { /* private fields */ }Expand description
Own alongside the actual semaphore permit, including retained cleanup work.
Implementations§
Trait Implementations§
Source§impl Drop for MetricGuard
impl Drop for MetricGuard
Auto Trait Implementations§
impl !RefUnwindSafe for MetricGuard
impl !UnwindSafe for MetricGuard
impl Freeze for MetricGuard
impl Send for MetricGuard
impl Sync for MetricGuard
impl Unpin for MetricGuard
impl UnsafeUnpin for MetricGuard
Blanket Implementations§
impl<T> ArtifactLease for T
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