pub struct TaskGroupData {
pub kind: u8,
pub task_ids: Vec<u64>,
}Expand description
Task-group payload. Extracted from the inline
HeapValue::TaskGroup { kind, task_ids } struct variant per ADR-006 §2.3
so HeapValue::TaskGroup becomes a single-tuple Arc<T> payload like
every other ADR-006 §2.3 heap arm.
The struct preserves the kind discriminant and task_ids list verbatim
— clone semantics live on the enclosing Arc<TaskGroupData> (one atomic
refcount bump). Phase 1.B migrates the cascade pattern-match sites
(shape-vm::executor::async_ops, shape-jit::ffi::async_ops,
shape-runtime::wire_conversion, …) from struct-variant destructuring
to task_group.kind / task_group.task_ids field reads.
Fields§
§kind: u8§task_ids: Vec<u64>Trait Implementations§
Source§impl Clone for TaskGroupData
impl Clone for TaskGroupData
Source§fn clone(&self) -> TaskGroupData
fn clone(&self) -> TaskGroupData
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 moreAuto Trait Implementations§
impl Freeze for TaskGroupData
impl RefUnwindSafe for TaskGroupData
impl Send for TaskGroupData
impl Sync for TaskGroupData
impl Unpin for TaskGroupData
impl UnsafeUnpin for TaskGroupData
impl UnwindSafe for TaskGroupData
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