pub struct SubagentHost {
pub store: Box<dyn DocumentStore>,
pub runner: Box<dyn FnOnce(Weak<Stack>) -> ChildRunner>,
pub agents: Option<AgentStores>,
}Expand description
How a session’s subagents run, and where their task journal lives.
Fields§
§store: Box<dyn DocumentStore>§runner: Box<dyn FnOnce(Weak<Stack>) -> ChildRunner>Builds the runner from the stack being built (it may hold the stack weakly).
agents: Option<AgentStores>The typed agents’ task journal, definition registry and usage ledger stores, and the runner of their rlm
lanes (none: in memory, and no rlm strategy).
Auto Trait Implementations§
impl !RefUnwindSafe for SubagentHost
impl !Send for SubagentHost
impl !Sync for SubagentHost
impl !UnwindSafe for SubagentHost
impl Forget for SubagentHost
impl Freeze for SubagentHost
impl Move for SubagentHost
impl Unpin for SubagentHost
impl UnsafeUnpin for SubagentHost
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