pub struct ScatterOptions {
pub var_name: String,
pub limit: usize,
pub timeout: Option<Duration>,
}Expand description
Options for scatter operation.
Fields§
§var_name: StringVariable name to bind each item to (default: “ITEM”).
limit: usizeMaximum parallelism (default: 8).
timeout: Option<Duration>Per-worker timeout. When Some, each worker is cancelled after this
duration; the worker’s external children get SIGTERM/SIGKILL and the
ScatterResult.timed_out flag is set.
Trait Implementations§
Source§impl Clone for ScatterOptions
impl Clone for ScatterOptions
Source§fn clone(&self) -> ScatterOptions
fn clone(&self) -> ScatterOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScatterOptions
impl Debug for ScatterOptions
Auto Trait Implementations§
impl Freeze for ScatterOptions
impl RefUnwindSafe for ScatterOptions
impl Send for ScatterOptions
impl Sync for ScatterOptions
impl Unpin for ScatterOptions
impl UnsafeUnpin for ScatterOptions
impl UnwindSafe for ScatterOptions
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