pub struct QueueMonitorConfig {
pub queue_depth_trigger: usize,
pub queue_depth_clear: usize,
pub mean_dispatch_ns_trigger: u64,
pub mean_dispatch_ns_clear: u64,
}Expand description
Configuration for runner queue pressure monitoring.
Fields§
§queue_depth_trigger: usizeQueue depth that triggers a backlogged state.
queue_depth_clear: usizeQueue depth at or below which a backlogged state clears.
mean_dispatch_ns_trigger: u64Mean dispatch time that triggers a slow state, in nanoseconds.
mean_dispatch_ns_clear: u64Mean dispatch time at or below which a slow state clears, in nanoseconds.
Implementations§
Source§impl QueueMonitorConfig
impl QueueMonitorConfig
Sourcepub fn builder() -> QueueMonitorConfigBuilder
pub fn builder() -> QueueMonitorConfigBuilder
Create an instance of QueueMonitorConfig using the builder syntax
Trait Implementations§
Source§impl Clone for QueueMonitorConfig
impl Clone for QueueMonitorConfig
Source§fn clone(&self) -> QueueMonitorConfig
fn clone(&self) -> QueueMonitorConfig
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 QueueMonitorConfig
impl Debug for QueueMonitorConfig
Source§impl<'de> Deserialize<'de> for QueueMonitorConfig
impl<'de> Deserialize<'de> for QueueMonitorConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for QueueMonitorConfig
Source§impl PartialEq for QueueMonitorConfig
impl PartialEq for QueueMonitorConfig
Source§impl Serialize for QueueMonitorConfig
impl Serialize for QueueMonitorConfig
impl StructuralPartialEq for QueueMonitorConfig
Auto Trait Implementations§
impl Freeze for QueueMonitorConfig
impl RefUnwindSafe for QueueMonitorConfig
impl Send for QueueMonitorConfig
impl Sync for QueueMonitorConfig
impl Unpin for QueueMonitorConfig
impl UnsafeUnpin for QueueMonitorConfig
impl UnwindSafe for QueueMonitorConfig
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.