pub struct FixedExecutor { /* private fields */ }Expand description
Executes a fixed-count load test using a worker-pool model: spawns exactly
concurrency long-lived VU tasks that share an atomic request budget and
self-terminate when the budget is exhausted.
Implementations§
Source§impl FixedExecutor
impl FixedExecutor
pub fn new(params: FixedExecutorParams) -> Self
Sourcepub async fn execute(self) -> Result<FixedExecutionResult, RunError>
pub async fn execute(self) -> Result<FixedExecutionResult, RunError>
Runs the fixed load test. Spawns concurrency VU tasks sharing a budget
of total requests. Returns a FixedExecutionResult when all requests
complete or a cancellation signal is received.
Auto Trait Implementations§
impl Freeze for FixedExecutor
impl !RefUnwindSafe for FixedExecutor
impl Send for FixedExecutor
impl Sync for FixedExecutor
impl Unpin for FixedExecutor
impl UnsafeUnpin for FixedExecutor
impl !UnwindSafe for FixedExecutor
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