pub struct JobEvidence {
pub job_id: u64,
pub name: Option<String>,
pub estimate_ms: f64,
pub weight: f64,
pub ratio: f64,
pub aging_reward: f64,
pub starvation_floor: f64,
pub age_ms: f64,
pub effective_priority: f64,
pub objective_loss_proxy: f64,
pub estimate_source: EstimateSource,
pub weight_source: WeightSource,
}Expand description
Evidence entry for a single job in the queue.
Fields§
§job_id: u64Job id.
name: Option<String>Optional name.
estimate_ms: f64Processing-time estimate (ms).
weight: f64Weight (importance).
ratio: f64Base ratio (w/p).
aging_reward: f64Aging contribution (aging_factor * age_ms).
starvation_floor: f64Starvation floor (ratio * starve_boost_ratio) when guard applies, else 0.
age_ms: f64Age in queue (ms).
effective_priority: f64Effective priority (ratio + aging, with starvation guard).
objective_loss_proxy: f64Monotone loss proxy minimized by policy (lower is better).
estimate_source: EstimateSourceEstimate source.
weight_source: WeightSourceWeight source.
Trait Implementations§
Source§impl Clone for JobEvidence
impl Clone for JobEvidence
Source§fn clone(&self) -> JobEvidence
fn clone(&self) -> JobEvidence
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for JobEvidence
impl RefUnwindSafe for JobEvidence
impl Send for JobEvidence
impl Sync for JobEvidence
impl Unpin for JobEvidence
impl UnwindSafe for JobEvidence
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