pub struct EffectiveTokioSamplerConfig {
pub inherited_mode: CaptureMode,
pub explicit_mode_override: Option<CaptureMode>,
pub resolved_mode: CaptureMode,
pub resolved_sampler_cadence_ms: u64,
pub resolved_runtime_snapshot_retention: usize,
}Expand description
Stable, resolved Tokio runtime sampler configuration used by one run.
Fields§
§inherited_mode: CaptureModeCapture mode selected in tailtriage-core that Tokio can inherit from.
explicit_mode_override: Option<CaptureMode>Optional explicit Tokio-side mode override.
resolved_mode: CaptureModeEffective mode used to resolve Tokio sampler defaults.
resolved_sampler_cadence_ms: u64Effective runtime sampler cadence in milliseconds.
resolved_runtime_snapshot_retention: usizeEffective runtime snapshot retention used by Tokio sampler.
Trait Implementations§
Source§impl Clone for EffectiveTokioSamplerConfig
impl Clone for EffectiveTokioSamplerConfig
Source§fn clone(&self) -> EffectiveTokioSamplerConfig
fn clone(&self) -> EffectiveTokioSamplerConfig
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 EffectiveTokioSamplerConfig
impl Debug for EffectiveTokioSamplerConfig
Source§impl<'de> Deserialize<'de> for EffectiveTokioSamplerConfig
impl<'de> Deserialize<'de> for EffectiveTokioSamplerConfig
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
Source§impl PartialEq for EffectiveTokioSamplerConfig
impl PartialEq for EffectiveTokioSamplerConfig
Source§fn eq(&self, other: &EffectiveTokioSamplerConfig) -> bool
fn eq(&self, other: &EffectiveTokioSamplerConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EffectiveTokioSamplerConfig
impl Eq for EffectiveTokioSamplerConfig
impl StructuralPartialEq for EffectiveTokioSamplerConfig
Auto Trait Implementations§
impl Freeze for EffectiveTokioSamplerConfig
impl RefUnwindSafe for EffectiveTokioSamplerConfig
impl Send for EffectiveTokioSamplerConfig
impl Sync for EffectiveTokioSamplerConfig
impl Unpin for EffectiveTokioSamplerConfig
impl UnsafeUnpin for EffectiveTokioSamplerConfig
impl UnwindSafe for EffectiveTokioSamplerConfig
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