Struct System Stats Sampling Config
Generated from cargo doc --no-deps -p nemo-fabric-core.
pub struct SystemStatsSamplingConfig {
pub interval_ms: u32,
pub max_samples: u32,
}
Bounded periodic collection within an enabled invocation stats configuration.
Fields
interval_ms: u32
Target sample cadence, in milliseconds. Actual cadence is reported.
max_samples: u32
Maximum retained readings, including both endpoints. Intermediate readings are dropped at this bound; the final reading is preserved.
Trait Implementations
impl Clone for SystemStatsSamplingConfig
impl Clone for SystemStatsSamplingConfig
clone
fn clone(&self) -> SystemStatsSamplingConfig
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for SystemStatsSamplingConfig
impl Debug for SystemStatsSamplingConfig
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for SystemStatsSamplingConfig
impl Default for SystemStatsSamplingConfig
default
fn default() -> Self
impl<'de> Deserialize<'de> for SystemStatsSamplingConfig
impl<'de> Deserialize<'de> for SystemStatsSamplingConfig
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl JsonSchema for SystemStatsSamplingConfig
impl JsonSchema for SystemStatsSamplingConfig
schema_name
fn schema_name() -> Cow<'static, str>
schema_id
fn schema_id() -> Cow<'static, str>
json_schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
inline_schema
fn inline_schema() -> bool
impl PartialEq for SystemStatsSamplingConfig
impl PartialEq for SystemStatsSamplingConfig
eq
fn eq(&self, other: &SystemStatsSamplingConfig) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for SystemStatsSamplingConfig
impl Serialize for SystemStatsSamplingConfig
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for SystemStatsSamplingConfig
impl StructuralPartialEq for SystemStatsSamplingConfig