pub struct ReactOnceAgent { /* private fields */ }Expand description
An agent that reacts to seeds by emitting a hypothesis once.
Demonstrates:
- Dependency-driven activation (only runs when Seeds change)
- Data-driven behavior (reads context to decide)
- Self-terminating (checks if already contributed)
Implementations§
Trait Implementations§
Source§impl Agent for ReactOnceAgent
impl Agent for ReactOnceAgent
Auto Trait Implementations§
impl Freeze for ReactOnceAgent
impl RefUnwindSafe for ReactOnceAgent
impl Send for ReactOnceAgent
impl Sync for ReactOnceAgent
impl Unpin for ReactOnceAgent
impl UnwindSafe for ReactOnceAgent
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