pub struct Group { /* private fields */ }Expand description
Group multiple tasks to run in parallel
Implementations§
Source§impl Group
impl Group
Sourcepub fn with_task(self, task: WorkflowTask) -> Self
pub fn with_task(self, task: WorkflowTask) -> Self
Add a task to the group
Sourcepub fn to_messages(&self) -> Vec<Message>
pub fn to_messages(&self) -> Vec<Message>
Convert to messages with group ID
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
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