pub struct TaskLaunch {
pub task_id: TaskId,
pub attempt_id: AttemptId,
pub launch_token: LaunchToken,
pub node_id: NodeId,
pub spec: LogicalAgentSpec,
}Expand description
One child launch the host must perform.
The kernel mints task_id, attempt_id and launch_token before the effect is published, so
the child’s identity exists as a committed fact even if the launch fails — the historical
“spawned ⇒ Running with no launch event” gap (B13/B26/D10) is not expressible here.
Fields§
§task_id: TaskId§attempt_id: AttemptId§launch_token: LaunchToken§node_id: NodeId§spec: LogicalAgentSpecTrait Implementations§
Source§impl Clone for TaskLaunch
impl Clone for TaskLaunch
Source§fn clone(&self) -> TaskLaunch
fn clone(&self) -> TaskLaunch
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 moreSource§impl Debug for TaskLaunch
impl Debug for TaskLaunch
Source§impl<'de> Deserialize<'de> for TaskLaunch
impl<'de> Deserialize<'de> for TaskLaunch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TaskLaunch
impl PartialEq for TaskLaunch
Source§impl Serialize for TaskLaunch
impl Serialize for TaskLaunch
impl StructuralPartialEq for TaskLaunch
Auto Trait Implementations§
impl Freeze for TaskLaunch
impl RefUnwindSafe for TaskLaunch
impl Send for TaskLaunch
impl Sync for TaskLaunch
impl Unpin for TaskLaunch
impl UnsafeUnpin for TaskLaunch
impl UnwindSafe for TaskLaunch
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