pub struct SchedulingEvidence {
pub current_time: f64,
pub selected_job_id: Option<u64>,
pub queue_length: usize,
pub mean_wait_time: f64,
pub max_wait_time: f64,
pub reason: SelectionReason,
pub tie_break_reason: Option<TieBreakReason>,
pub jobs: Vec<JobEvidence>,
}Expand description
Evidence for scheduling decisions.
Fields§
§current_time: f64Current time.
selected_job_id: Option<u64>Selected job ID (if any).
queue_length: usizeQueue length.
mean_wait_time: f64Mean wait time in queue.
max_wait_time: f64Max wait time in queue.
reason: SelectionReasonReason for selection.
tie_break_reason: Option<TieBreakReason>Tie-break reason for the selected job (if applicable).
jobs: Vec<JobEvidence>Per-job evidence entries (ordered by scheduler priority).
Implementations§
Trait Implementations§
Source§impl Clone for SchedulingEvidence
impl Clone for SchedulingEvidence
Source§fn clone(&self) -> SchedulingEvidence
fn clone(&self) -> SchedulingEvidence
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 SchedulingEvidence
impl RefUnwindSafe for SchedulingEvidence
impl Send for SchedulingEvidence
impl Sync for SchedulingEvidence
impl Unpin for SchedulingEvidence
impl UnsafeUnpin for SchedulingEvidence
impl UnwindSafe for SchedulingEvidence
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