pub struct ExperimentRunner { /* private fields */ }Expand description
Main experiment runner.
Implementations§
Source§impl ExperimentRunner
impl ExperimentRunner
Sourcepub fn with_config(config: RunnerConfig) -> Self
pub fn with_config(config: RunnerConfig) -> Self
Create a runner with custom configuration.
Sourcepub fn registry_mut(&mut self) -> &mut EmcRegistry
pub fn registry_mut(&mut self) -> &mut EmcRegistry
Get mutable reference to the EMC registry.
Sourcepub fn initialize(&mut self) -> Result<usize, String>
pub fn initialize(&mut self) -> Result<usize, String>
Sourcepub fn load_experiment<P: AsRef<Path>>(
&self,
path: P,
) -> Result<ExperimentYaml, String>
pub fn load_experiment<P: AsRef<Path>>( &self, path: P, ) -> Result<ExperimentYaml, String>
Sourcepub fn run<P: AsRef<Path>>(
&mut self,
experiment_path: P,
) -> Result<ExperimentResult, String>
pub fn run<P: AsRef<Path>>( &mut self, experiment_path: P, ) -> Result<ExperimentResult, String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExperimentRunner
impl RefUnwindSafe for ExperimentRunner
impl Send for ExperimentRunner
impl Sync for ExperimentRunner
impl Unpin for ExperimentRunner
impl UnsafeUnpin for ExperimentRunner
impl UnwindSafe for ExperimentRunner
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