pub enum BackpressureAction {
RouteToQuarantine,
ReduceBatchSize(usize),
ExtendAckWait(Duration),
AlertOps(String),
}Variants§
RouteToQuarantine
Route overload to quarantine stream
ReduceBatchSize(usize)
Reduce batch sizes
ExtendAckWait(Duration)
Increase ack wait times
AlertOps(String)
Alert operations team
Trait Implementations§
Source§impl Clone for BackpressureAction
impl Clone for BackpressureAction
Source§fn clone(&self) -> BackpressureAction
fn clone(&self) -> BackpressureAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BackpressureAction
impl RefUnwindSafe for BackpressureAction
impl Send for BackpressureAction
impl Sync for BackpressureAction
impl Unpin for BackpressureAction
impl UnsafeUnpin for BackpressureAction
impl UnwindSafe for BackpressureAction
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