pub struct InflightGuard<'a> { /* private fields */ }Expand description
RAII guard tracking one in-flight unit for a named gauge.
Trait Implementations§
Source§impl<'a> Debug for InflightGuard<'a>
impl<'a> Debug for InflightGuard<'a>
Auto Trait Implementations§
impl<'a> Freeze for InflightGuard<'a>
impl<'a> !RefUnwindSafe for InflightGuard<'a>
impl<'a> Send for InflightGuard<'a>
impl<'a> Sync for InflightGuard<'a>
impl<'a> Unpin for InflightGuard<'a>
impl<'a> UnsafeUnpin for InflightGuard<'a>
impl<'a> !UnwindSafe for InflightGuard<'a>
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