pub struct NextDispatch<'a> { /* private fields */ }Expand description
The rest of the chain, ending in the engine’s own dispatch.
Implementations§
Source§impl<'a> NextDispatch<'a>
impl<'a> NextDispatch<'a>
Sourcepub async fn run(&self, call: &ToolCall, exec: &mut ToolExec) -> ToolOutcome
pub async fn run(&self, call: &ToolCall, exec: &mut ToolExec) -> ToolOutcome
Run everything inside this wrapper.
Takes &self so it can be called more than once — that is what makes
a retry expressible rather than something a wrapper has to fake.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for NextDispatch<'a>
impl<'a> !UnwindSafe for NextDispatch<'a>
impl<'a> Forget for NextDispatch<'a>
impl<'a> Freeze for NextDispatch<'a>
impl<'a> Move for NextDispatch<'a>
impl<'a> Send for NextDispatch<'a>
impl<'a> Sync for NextDispatch<'a>
impl<'a> Unpin for NextDispatch<'a>
impl<'a> UnsafeUnpin for NextDispatch<'a>
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