pub struct MemoryChildren { /* private fields */ }Expand description
The running in-memory children, by lane.
Implementations§
Source§impl MemoryChildren
impl MemoryChildren
Sourcepub fn attach_reminders(&self, reminders: Arc<ContextReminders>)
pub fn attach_reminders(&self, reminders: Arc<ContextReminders>)
Child lanes’ context use goes to reminders from the next child on.
Sourcepub fn steer(&self, lane: &str, message: &str) -> bool
pub fn steer(&self, lane: &str, message: &str) -> bool
Steer the running child on lane with message; false when no child runs there.
pub fn is_running(&self, lane: &str) -> bool
pub fn runner(self: &Arc<Self>, factory: ChildAgentFactory) -> ChildRunner
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for MemoryChildren
impl !RefUnwindSafe for MemoryChildren
impl !UnwindSafe for MemoryChildren
impl Forget for MemoryChildren
impl Move for MemoryChildren
impl Send for MemoryChildren
impl Sync for MemoryChildren
impl Unpin for MemoryChildren
impl UnsafeUnpin for MemoryChildren
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