pub struct SlotPart {
pub profile: usize,
pub slot: usize,
pub memory: u64,
pub reserved: bool,
}Expand description
A slot’s block of the budget.
Fields§
§profile: usizeIts profile’s index in Status::profiles.
slot: usizeThe slot, 1-based.
memory: u64Its size in bytes: what its runner reserves, or a free slot’s cap.
reserved: boolWhether a runner reserves it; a free slot’s block under caps is room its next runner takes, still free.
Trait Implementations§
impl Copy for SlotPart
impl Eq for SlotPart
impl StructuralPartialEq for SlotPart
Auto Trait Implementations§
impl Freeze for SlotPart
impl RefUnwindSafe for SlotPart
impl Send for SlotPart
impl Sync for SlotPart
impl Unpin for SlotPart
impl UnsafeUnpin for SlotPart
impl UnwindSafe for SlotPart
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.