pub struct Capacity {
pub workers: usize,
pub gate_jobs: usize,
pub lanes: usize,
}Expand description
The pools a run draws on.
Fields§
§workers: usize§gate_jobs: usize§lanes: usizeLanes active at once; 0 is unlimited.
Trait Implementations§
impl Copy for Capacity
impl Eq for Capacity
impl StructuralPartialEq for Capacity
Auto Trait Implementations§
impl Forget for Capacity
impl Freeze for Capacity
impl Move for Capacity
impl RefUnwindSafe for Capacity
impl Send for Capacity
impl Sync for Capacity
impl Unpin for Capacity
impl UnsafeUnpin for Capacity
impl UnwindSafe for Capacity
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