pub struct Group { /* private fields */ }Expand description
A collection of related tasks that can be executed as a group.
This provides batch execution capabilities and allows for coordinated task management and monitoring.
Implementations§
Trait Implementations§
Source§impl Task for Group
impl Task for Group
Source§fn context(&self) -> &TaskContext
fn context(&self) -> &TaskContext
Get the task context for scheduling and debugging.
Source§fn estimated_cost(&self) -> u32
fn estimated_cost(&self) -> u32
Estimate the computational cost of this task (for load balancing).
Source§fn is_stealable(&self) -> bool
fn is_stealable(&self) -> bool
Check if this task can be stolen by another thread.
Auto Trait Implementations§
impl !RefUnwindSafe for Group
impl !Sync for Group
impl !UnwindSafe for Group
impl Freeze for Group
impl Send for Group
impl Unpin for Group
impl UnsafeUnpin 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
Source§impl<T> TaskExt for Twhere
T: Task,
impl<T> TaskExt for Twhere
T: Task,
Source§fn with_context(self, context: TaskContext) -> ContextualTask<Self>
fn with_context(self, context: TaskContext) -> ContextualTask<Self>
Convert this task into a task with the given context.