pub trait RunReadAlg: SessionSorts {
// Required methods
fn run_is_over(&self, run: &Self::Run) -> bool;
fn read_run(&self, run: &mut Self::Run) -> Vec<Self::Report>;
fn end_run(&self, run: Self::Run) -> Result<Self::Ending, Self::Refusal>;
}Expand description
Specifies reading one run while it happens, and ending it once it is over.
Required Methods§
Sourcefn run_is_over(&self, run: &Self::Run) -> bool
fn run_is_over(&self, run: &Self::Run) -> bool
States whether the run is over.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".