pub struct FreshnessInputs {
pub poll_interval: Duration,
pub ssh_timeout: Duration,
pub last_poll_duration: Duration,
pub recent_timeout_count: u32,
pub host_rtt: Option<Duration>,
pub concurrency_pressure: f64,
pub age: Option<Duration>,
}Expand description
Raw inputs to the freshness model. All durations are observer-side facts.
Fields§
§poll_interval: DurationBase poll cadence.
ssh_timeout: DurationPer-poll SSH timeout.
last_poll_duration: DurationWall-clock duration of the most recent poll cycle (a slow loop runs long; this is the primary “observer is behind” signal).
recent_timeout_count: u32Consecutive/recent poll timeouts observed for this worker.
host_rtt: Option<Duration>Round-trip latency to the worker host, if known (“host distance”).
concurrency_pressure: f64Poll-permit-pool saturation in [0.0, 1.0] (1.0 = fully saturated).
age: Option<Duration>Age of the worker’s latest telemetry sample. None = no sample yet.
Implementations§
Trait Implementations§
Source§impl Clone for FreshnessInputs
impl Clone for FreshnessInputs
Auto Trait Implementations§
impl Freeze for FreshnessInputs
impl RefUnwindSafe for FreshnessInputs
impl Send for FreshnessInputs
impl Sync for FreshnessInputs
impl Unpin for FreshnessInputs
impl UnsafeUnpin for FreshnessInputs
impl UnwindSafe for FreshnessInputs
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