pub struct Profile {
pub memory: u64,
pub preparing: bool,
pub slots: Vec<Slot>,
}Expand description
A profile’s slots: one concurrent job each.
Fields§
§memory: u64Memory a slot’s container may use.
preparing: boolWhile the profile’s snapshot is rebuilt or its image pulled, none of its slots starts.
slots: Vec<Slot>Index 0 is slot 1.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnsafeUnpin for Profile
impl UnwindSafe for Profile
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