pub struct Workers {
pub requested: usize,
pub used: usize,
pub sequential: bool,
pub reason: Option<String>,
}Expand description
Worker threads requested and used.
Fields§
§requested: usizeRequested (--workers).
used: usizeUsed for the search: at most the requested count, 1 in sequential mode, fewer if the system would not start more threads, 0 when the run ended before the search.
sequential: boolWhether the search ran in sequential mode: every level inline, with one logical worker evaluating in TLC’s order.
reason: Option<String>Why fewer workers were used than requested.
Implementations§
Trait Implementations§
impl Eq for Workers
impl StructuralPartialEq for Workers
Auto Trait Implementations§
impl Forget for Workers
impl Freeze for Workers
impl Move for Workers
impl RefUnwindSafe for Workers
impl Send for Workers
impl Sync for Workers
impl Unpin for Workers
impl UnsafeUnpin for Workers
impl UnwindSafe for Workers
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