pub struct Config {
pub workers: usize,
pub sorted: bool,
pub spill_bytes: usize,
}Expand description
How the pool runs, as opposed to what it runs.
Fields§
§workers: usizeArchives searched concurrently. 1 takes a dedicated sequential path.
sorted: boolEmit in Job::index order rather than completion order.
spill_bytes: usizeHow many bytes of parked output may wait for their turn before the order is abandoned. Not a memory ceiling — see the module docs.
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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