pub struct CoordinatorAgent { /* private fields */ }Expand description
Routes investigations across a fixed set of specialist agents.
Implementations§
Trait Implementations§
Source§impl Agent for CoordinatorAgent
impl Agent for CoordinatorAgent
fn id(&self) -> AgentId
fn name(&self) -> &str
Source§fn step<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 mut InvestigationContext,
) -> Pin<Box<dyn Future<Output = Result<AgentStepResult, KernelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn step<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 mut InvestigationContext,
) -> Pin<Box<dyn Future<Output = Result<AgentStepResult, KernelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Drive one investigation pass over
ctx. Implementations decide
the iteration policy (single pass, fixed-point, until-conclude…).Auto Trait Implementations§
impl Freeze for CoordinatorAgent
impl !RefUnwindSafe for CoordinatorAgent
impl Send for CoordinatorAgent
impl Sync for CoordinatorAgent
impl Unpin for CoordinatorAgent
impl UnsafeUnpin for CoordinatorAgent
impl !UnwindSafe for CoordinatorAgent
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