#[non_exhaustive]pub struct ForEachDef { /* private fields */ }Expand description
A task’s fan-out: its function runs once per element of an array.
Implementations§
Source§impl ForEachDef
impl ForEachDef
Sourcepub fn as(&self) -> &str
pub fn as(&self) -> &str
The temp_data slot holding the element; its index is at
temp_data.<as>_index.
Sourcepub fn max_concurrency(&self) -> usize
pub fn max_concurrency(&self) -> usize
Calls in flight at once: timing only, never results. Default 1.
Trait Implementations§
Source§impl Clone for ForEachDef
impl Clone for ForEachDef
Source§impl Debug for ForEachDef
impl Debug for ForEachDef
Source§impl PartialEq for ForEachDef
impl PartialEq for ForEachDef
Source§impl Serialize for ForEachDef
impl Serialize for ForEachDef
impl StructuralPartialEq for ForEachDef
Auto Trait Implementations§
impl Freeze for ForEachDef
impl RefUnwindSafe for ForEachDef
impl Send for ForEachDef
impl Sync for ForEachDef
impl Unpin for ForEachDef
impl UnsafeUnpin for ForEachDef
impl UnwindSafe for ForEachDef
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