pub struct ScenarioRunnerList { /* private fields */ }
Expand description
Aggregates several scenario runners into one, and calls them in order.
The empty object can act as a placeholder, in case we want to provide a ScenarioRunner
that does nothing.
Implementations§
Trait Implementations§
Source§impl Default for ScenarioRunnerList
impl Default for ScenarioRunnerList
Source§fn default() -> ScenarioRunnerList
fn default() -> ScenarioRunnerList
Returns the “default value” for a type. Read more
Source§impl ScenarioRunner for ScenarioRunnerList
impl ScenarioRunner for ScenarioRunnerList
fn run_external_steps(&mut self, step: &ExternalStepsStep)
fn run_set_state_step(&mut self, step: &SetStateStep)
fn run_sc_call_step(&mut self, step: &mut ScCallStep)
fn run_multi_sc_call_step(&mut self, steps: &mut [ScCallStep])
fn run_multi_sc_deploy_step(&mut self, steps: &mut [ScDeployStep])
fn run_sc_query_step(&mut self, step: &mut ScQueryStep)
fn run_sc_deploy_step(&mut self, step: &mut ScDeployStep)
fn run_transfer_step(&mut self, step: &TransferStep)
fn run_validator_reward_step(&mut self, step: &ValidatorRewardStep)
fn run_check_state_step(&mut self, step: &CheckStateStep)
fn run_dump_state_step(&mut self)
Source§fn run_scenario(&mut self, scenario: &Scenario)
fn run_scenario(&mut self, scenario: &Scenario)
Utility method for running all steps in a scenario.
Auto Trait Implementations§
impl Freeze for ScenarioRunnerList
impl !RefUnwindSafe for ScenarioRunnerList
impl Send for ScenarioRunnerList
impl Sync for ScenarioRunnerList
impl Unpin for ScenarioRunnerList
impl !UnwindSafe for ScenarioRunnerList
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
Source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more