#[non_exhaustive]pub struct BlockingOptions {
pub min_nonzero_samples_for_signal: usize,
pub strong_p95_threshold: u64,
pub strong_peak_threshold: u64,
pub strong_nonzero_share_permille: u64,
pub strong_min_samples: usize,
}Expand description
Blocking-pressure suspect thresholds and minimum-sample guards.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.min_nonzero_samples_for_signal: usizeMinimum number of non-zero blocking queue samples needed before blocking signal can trigger.
strong_p95_threshold: u64Blocking queue-depth p95 threshold used for stronger blocking-pressure suspect evidence.
strong_peak_threshold: u64Blocking queue-depth peak threshold used for stronger blocking-pressure suspect evidence.
Minimum non-zero blocking sample share (permille) for stronger blocking-pressure suspect evidence.
strong_min_samples: usizeMinimum blocking sample count before strong blocking heuristics can trigger.
Trait Implementations§
Source§impl Clone for BlockingOptions
impl Clone for BlockingOptions
Source§fn clone(&self) -> BlockingOptions
fn clone(&self) -> BlockingOptions
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 BlockingOptions
impl Debug for BlockingOptions
Source§impl Default for BlockingOptions
impl Default for BlockingOptions
impl Eq for BlockingOptions
Source§impl PartialEq for BlockingOptions
impl PartialEq for BlockingOptions
Source§fn eq(&self, other: &BlockingOptions) -> bool
fn eq(&self, other: &BlockingOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BlockingOptions
impl Serialize for BlockingOptions
impl StructuralPartialEq for BlockingOptions
Auto Trait Implementations§
impl Freeze for BlockingOptions
impl RefUnwindSafe for BlockingOptions
impl Send for BlockingOptions
impl Sync for BlockingOptions
impl Unpin for BlockingOptions
impl UnsafeUnpin for BlockingOptions
impl UnwindSafe for BlockingOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.