pub struct SubAgentWrapper { /* private fields */ }Implementations§
Source§impl SubAgentWrapper
impl SubAgentWrapper
pub fn new( id: String, config: SubAgentConfig, agent: Option<Arc<Agent>>, event_tx: Sender<OrchestratorEvent>, subagent_event_tx: Sender<OrchestratorEvent>, event_history: Arc<RwLock<VecDeque<OrchestratorEvent>>>, control_rx: Receiver<ControlSignal>, state: Arc<RwLock<SubAgentState>>, activity: Arc<RwLock<SubAgentActivity>>, session_registry: Arc<RwLock<HashMap<String, Arc<AgentSession>>>>, ) -> Self
Auto Trait Implementations§
impl Freeze for SubAgentWrapper
impl !RefUnwindSafe for SubAgentWrapper
impl Send for SubAgentWrapper
impl Sync for SubAgentWrapper
impl Unpin for SubAgentWrapper
impl UnsafeUnpin for SubAgentWrapper
impl !UnwindSafe for SubAgentWrapper
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