pub struct ProcInfo {
pub parent_session_id: CompactString,
pub role: AgentRole,
pub isolation: AgentIsolation,
pub context_inheritance: ContextInheritance,
pub result: Option<SubAgentResult>,
}Expand description
Sub-agent-specific identity carried by a child Tcb; None on the root task.
This is what makes the AgentProcess view derived from the TaskTable: every child task
whose proc is Some reconstructs exactly one crate::proc::AgentProcess (see
crate::proc::AgentProcess::from_tcb). The formerly duplicated process storage collapses
into these fields.
Fields§
§parent_session_id: CompactString§role: AgentRole§isolation: AgentIsolation§context_inheritance: ContextInheritance§result: Option<SubAgentResult>The join result once the sub-agent has completed; None while running.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProcInfo
impl RefUnwindSafe for ProcInfo
impl Send for ProcInfo
impl Sync for ProcInfo
impl Unpin for ProcInfo
impl UnsafeUnpin for ProcInfo
impl UnwindSafe for ProcInfo
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