#[non_exhaustive]pub struct RouteOptions {
pub min_request_count: usize,
pub breakdown_limit: usize,
pub emit_on_divergent_suspects: bool,
pub slowest_to_fastest_p95_ratio_numerator: u64,
pub slowest_to_fastest_p95_ratio_denominator: u64,
pub slowest_to_global_p95_ratio_numerator: u64,
pub slowest_to_global_p95_ratio_denominator: u64,
}Expand description
Route-breakdown thresholds used for route-level suspect comparisons.
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_request_count: usizeMinimum per-route completed requests required for route breakdown inclusion.
breakdown_limit: usizeMaximum number of route breakdown entries emitted in one report.
emit_on_divergent_suspects: boolWhether to emit a warning when route-level primary suspects diverge from each other.
slowest_to_fastest_p95_ratio_numerator: u64Numerator for slowest-to-fastest route p95 ratio heuristic threshold.
slowest_to_fastest_p95_ratio_denominator: u64Denominator for slowest-to-fastest route p95 ratio heuristic threshold.
slowest_to_global_p95_ratio_numerator: u64Numerator for slowest-route to global p95 ratio heuristic threshold.
slowest_to_global_p95_ratio_denominator: u64Denominator for slowest-route to global p95 ratio heuristic threshold.
Trait Implementations§
Source§impl Clone for RouteOptions
impl Clone for RouteOptions
Source§fn clone(&self) -> RouteOptions
fn clone(&self) -> RouteOptions
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 RouteOptions
impl Debug for RouteOptions
Source§impl Default for RouteOptions
impl Default for RouteOptions
impl Eq for RouteOptions
Source§impl PartialEq for RouteOptions
impl PartialEq for RouteOptions
Source§fn eq(&self, other: &RouteOptions) -> bool
fn eq(&self, other: &RouteOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RouteOptions
impl Serialize for RouteOptions
impl StructuralPartialEq for RouteOptions
Auto Trait Implementations§
impl Freeze for RouteOptions
impl RefUnwindSafe for RouteOptions
impl Send for RouteOptions
impl Sync for RouteOptions
impl Unpin for RouteOptions
impl UnsafeUnpin for RouteOptions
impl UnwindSafe for RouteOptions
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.