pub enum ThreadNumber {
MatchCores,
Specific(usize),
}Expand description
Represents how many threads will be used to run steps in parallel.
Variants§
MatchCores
Thread number that will match number of cores on your machine.
Specific(usize)
Specific number of threads.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ThreadNumber
impl RefUnwindSafe for ThreadNumber
impl Send for ThreadNumber
impl Sync for ThreadNumber
impl Unpin for ThreadNumber
impl UnsafeUnpin for ThreadNumber
impl UnwindSafe for ThreadNumber
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