pub struct BudgetParts {
pub slots: Vec<SlotPart>,
pub held: Vec<HeldPart>,
pub free: Option<FreePart>,
pub whole: u64,
}Expand description
The budget as a bar draws it, from Status::budget_parts.
Fields§
§slots: Vec<SlotPart>A block per slot, in config order: every slot under caps, only those with a runner under measured admission.
held: Vec<HeldPart>The mirror, each seed container, then each shell open in a record.
free: Option<FreePart>What MemoryMax leaves past every block; None without MemoryMax or room past them.
whole: u64What the blocks are scaled against: MemoryMax, or the blocks’ sum when larger or without it.
Trait Implementations§
Source§impl Clone for BudgetParts
impl Clone for BudgetParts
Source§impl Debug for BudgetParts
impl Debug for BudgetParts
impl Eq for BudgetParts
Source§impl PartialEq for BudgetParts
impl PartialEq for BudgetParts
impl StructuralPartialEq for BudgetParts
Auto Trait Implementations§
impl Freeze for BudgetParts
impl RefUnwindSafe for BudgetParts
impl Send for BudgetParts
impl Sync for BudgetParts
impl Unpin for BudgetParts
impl UnsafeUnpin for BudgetParts
impl UnwindSafe for BudgetParts
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.