pub struct PlanExecute { /* private fields */ }Expand description
Routes planning turns to a capable model and all turns after the first edit to an efficient model while preserving the caller’s full trajectory.
Implementations§
Source§impl PlanExecute
impl PlanExecute
Trait Implementations§
Source§impl Algorithm for PlanExecute
impl Algorithm for PlanExecute
Source§fn name(&self) -> &str
fn name(&self) -> &str
Stable, low-cardinality name identifying this algorithm — the
algorithm attribute on every span, metric, and log line the crate
emits for its runs.Source§fn route<'async_trait>(
self: Arc<Self>,
_driver: Driver,
request: Request,
) -> Pin<Box<dyn Future<Output = Result<RoutingOutcome>> + Send + 'async_trait>>where
Self: 'async_trait,
fn route<'async_trait>(
self: Arc<Self>,
_driver: Driver,
request: Request,
) -> Pin<Box<dyn Future<Output = Result<RoutingOutcome>> + Send + 'async_trait>>where
Self: 'async_trait,
Run one request to completion: make routing-time model calls with
Driver::call_model and return the terminal RoutingOutcome.
The method an algorithm implements; run_stream drives it.Source§fn run_stream(self: Arc<Self>, request: Request) -> StepStream
fn run_stream(self: Arc<Self>, request: Request) -> StepStream
Auto Trait Implementations§
impl !Freeze for PlanExecute
impl !RefUnwindSafe for PlanExecute
impl Send for PlanExecute
impl Sync for PlanExecute
impl Unpin for PlanExecute
impl UnsafeUnpin for PlanExecute
impl UnwindSafe for PlanExecute
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