pub struct SchedShape {
pub pending: u64,
pub active: u64,
pub prefilling: u64,
pub swapped: u64,
pub kv_blocks_free: u64,
pub kv_blocks_total: u64,
pub ssm_slots_used: u64,
pub ssm_slots_total: u64,
pub ticks: u64,
}Expand description
2026-09-26: One tick’s scheduler shape, as the scheduler publishes it.
Fields§
§pending: u64§active: u64§prefilling: u64§swapped: u64§kv_blocks_free: u64§kv_blocks_total: u64§ssm_slots_used: u64§ssm_slots_total: u64§ticks: u642026-09-26: Ticks the publishing scheduler has counted since it was built.
Trait Implementations§
Source§impl Clone for SchedShape
impl Clone for SchedShape
Source§fn clone(&self) -> SchedShape
fn clone(&self) -> SchedShape
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 moreSource§impl Debug for SchedShape
impl Debug for SchedShape
Source§impl Default for SchedShape
impl Default for SchedShape
Source§fn default() -> SchedShape
fn default() -> SchedShape
Returns the “default value” for a type. Read more
Source§impl PartialEq for SchedShape
impl PartialEq for SchedShape
Source§impl Serialize for SchedShape
impl Serialize for SchedShape
impl Copy for SchedShape
impl Eq for SchedShape
impl StructuralPartialEq for SchedShape
Auto Trait Implementations§
impl Freeze for SchedShape
impl RefUnwindSafe for SchedShape
impl Send for SchedShape
impl Sync for SchedShape
impl Unpin for SchedShape
impl UnwindSafe for SchedShape
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.