pub struct RuntimeEvents { /* private fields */ }Expand description
Completions of work a run started that outlives its cell: typed tasks nobody awaited (task_done), subagents
(child_done) and detached cells (cell_done), of every lane. Each completion continues its lane’s run as a
<runtime_event> message. ULTRON_ASYNC_EVENTS=off turns this off: nothing waits and nothing is announced.
Implementations§
Source§impl RuntimeEvents
impl RuntimeEvents
Sourcepub fn recv(&self, wait: Duration) -> Vec<RuntimeEvent>
pub fn recv(&self, wait: Duration) -> Vec<RuntimeEvent>
Every completion that arrived, for the event dispatcher (crate::async_events), each for the lane that owns
the work: waits up to wait for the first when none has. A subagent’s or cell’s root is left for the caller.
Sourcepub fn root_lines(&self, events: &[RuntimeEvent]) -> Vec<String>
pub fn root_lines(&self, events: &[RuntimeEvent]) -> Vec<String>
The <runtime_event> lines of the root lane’s events.
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeEvents
impl !UnwindSafe for RuntimeEvents
impl Forget for RuntimeEvents
impl Freeze for RuntimeEvents
impl Move for RuntimeEvents
impl Send for RuntimeEvents
impl Sync for RuntimeEvents
impl Unpin for RuntimeEvents
impl UnsafeUnpin for RuntimeEvents
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