pub struct ParallelBranch { /* private fields */ }Expand description
One explicitly budgeted branch of a parallel workflow node.
Implementations§
Source§impl ParallelBranch
impl ParallelBranch
Sourcepub fn step<S>(
id: impl Into<String>,
step: S,
capabilities: CapabilitySet,
reservation: Usage,
) -> Selfwhere
S: WorkflowStep + 'static,
pub fn step<S>(
id: impl Into<String>,
step: S,
capabilities: CapabilitySet,
reservation: Usage,
) -> Selfwhere
S: WorkflowStep + 'static,
Creates a custom parallel branch with an explicit resource reservation.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ParallelBranch
impl !UnwindSafe for ParallelBranch
impl Freeze for ParallelBranch
impl Send for ParallelBranch
impl Sync for ParallelBranch
impl Unpin for ParallelBranch
impl UnsafeUnpin for ParallelBranch
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