pub struct SimulatedExecutor { /* private fields */ }Expand description
Simulated pipeline execution for testing and benchmarking.
Implementations§
Source§impl SimulatedExecutor
impl SimulatedExecutor
Sourcepub async fn execute(&self, pipeline: &QueryPipeline) -> PipelineResult
pub async fn execute(&self, pipeline: &QueryPipeline) -> PipelineResult
Execute pipeline with simulated latency.
Auto Trait Implementations§
impl Freeze for SimulatedExecutor
impl RefUnwindSafe for SimulatedExecutor
impl Send for SimulatedExecutor
impl Sync for SimulatedExecutor
impl Unpin for SimulatedExecutor
impl UnwindSafe for SimulatedExecutor
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