pub struct BackpressureAlertHandler { /* private fields */ }Expand description
Backpressure alert handler
Implementations§
Source§impl BackpressureAlertHandler
impl BackpressureAlertHandler
pub fn new(alert_receiver: Receiver<BackpressureAlert>) -> Self
Sourcepub async fn start_handling(&mut self)
pub async fn start_handling(&mut self)
Start handling backpressure alerts
Auto Trait Implementations§
impl Freeze for BackpressureAlertHandler
impl RefUnwindSafe for BackpressureAlertHandler
impl Send for BackpressureAlertHandler
impl Sync for BackpressureAlertHandler
impl Unpin for BackpressureAlertHandler
impl UnsafeUnpin for BackpressureAlertHandler
impl UnwindSafe for BackpressureAlertHandler
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