pub struct BackpressureEvent {
pub queue_len: usize,
pub threshold: usize,
}Expand description
Mailbox backpressure event.
Fires once per “mailbox pressure crossed configured threshold” incident.
Use [HyperConfig::mailbox_backpressure_threshold] (see actr-hyper) to
tune the trip level.
Fields§
§queue_len: usizeCurrent queued-message count at the time of the sample.
threshold: usizeThreshold that was crossed.
Trait Implementations§
Source§impl Clone for BackpressureEvent
impl Clone for BackpressureEvent
Source§fn clone(&self) -> BackpressureEvent
fn clone(&self) -> BackpressureEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BackpressureEvent
impl Debug for BackpressureEvent
impl Copy for BackpressureEvent
Auto Trait Implementations§
impl Freeze for BackpressureEvent
impl RefUnwindSafe for BackpressureEvent
impl Send for BackpressureEvent
impl Sync for BackpressureEvent
impl Unpin for BackpressureEvent
impl UnsafeUnpin for BackpressureEvent
impl UnwindSafe for BackpressureEvent
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