pub struct BackpressureGuard<'a> { /* private fields */ }Expand description
Guard that tracks an operation for backpressure
Implementations§
Source§impl<'a> BackpressureGuard<'a>
impl<'a> BackpressureGuard<'a>
pub fn new(monitor: &'a BackpressureMonitor) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BackpressureGuard<'a>
impl<'a> RefUnwindSafe for BackpressureGuard<'a>
impl<'a> Send for BackpressureGuard<'a>
impl<'a> Sync for BackpressureGuard<'a>
impl<'a> Unpin for BackpressureGuard<'a>
impl<'a> UnsafeUnpin for BackpressureGuard<'a>
impl<'a> UnwindSafe for BackpressureGuard<'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