pub struct OnComplete {
pub agent: Arc<dyn TextAgent>,
pub mode: Mode,
}Expand description
A downstream agent fired when an extractor’s results land in state.
Fields§
§agent: Arc<dyn TextAgent>The agent to run; it reads its inputs from State.
mode: ModeHow to run it (Call awaits inline; Dispatch/Background detached).
Trait Implementations§
Source§impl Clone for OnComplete
impl Clone for OnComplete
Source§fn clone(&self) -> OnComplete
fn clone(&self) -> OnComplete
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OnComplete
impl !RefUnwindSafe for OnComplete
impl Send for OnComplete
impl Sync for OnComplete
impl Unpin for OnComplete
impl !UnwindSafe for OnComplete
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