pub struct BackpressureGuard { /* private fields */ }Expand description
Guard that automatically releases a backpressure slot on drop.
Useful for RAII-style backpressure management.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BackpressureGuard
impl RefUnwindSafe for BackpressureGuard
impl Send for BackpressureGuard
impl Sync for BackpressureGuard
impl Unpin for BackpressureGuard
impl UnwindSafe for BackpressureGuard
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