#[non_exhaustive]pub struct TemporalOptions {
pub min_request_count: usize,
pub min_segment_request_count: usize,
pub share_shift_permille: u64,
pub p95_shift_ratio_numerator: u64,
pub p95_shift_ratio_denominator: u64,
pub emit_on_suspect_shift: bool,
pub suppress_runtime_sparse_suspect_shift_without_supporting_movement: bool,
}Expand description
Temporal-shift thresholds used for early/late 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 completed requests required before temporal segmentation heuristics run.
min_segment_request_count: usizeMinimum completed requests required in each temporal segment for suspect comparison.
Minimum queue/service-share movement (permille) required to flag temporal suspect shift evidence.
p95_shift_ratio_numerator: u64Numerator for temporal p95 ratio movement heuristic threshold.
p95_shift_ratio_denominator: u64Denominator for temporal p95 ratio movement heuristic threshold.
emit_on_suspect_shift: boolWhether to emit temporal suspect-shift warnings when movement heuristics trigger.
suppress_runtime_sparse_suspect_shift_without_supporting_movement: boolWhether to suppress runtime-sparse suspect-shift warnings when supporting movement evidence is absent.
Trait Implementations§
Source§impl Clone for TemporalOptions
impl Clone for TemporalOptions
Source§fn clone(&self) -> TemporalOptions
fn clone(&self) -> TemporalOptions
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 TemporalOptions
impl Debug for TemporalOptions
Source§impl Default for TemporalOptions
impl Default for TemporalOptions
impl Eq for TemporalOptions
Source§impl PartialEq for TemporalOptions
impl PartialEq for TemporalOptions
Source§fn eq(&self, other: &TemporalOptions) -> bool
fn eq(&self, other: &TemporalOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TemporalOptions
impl Serialize for TemporalOptions
impl StructuralPartialEq for TemporalOptions
Auto Trait Implementations§
impl Freeze for TemporalOptions
impl RefUnwindSafe for TemporalOptions
impl Send for TemporalOptions
impl Sync for TemporalOptions
impl Unpin for TemporalOptions
impl UnsafeUnpin for TemporalOptions
impl UnwindSafe for TemporalOptions
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.