pub trait Lab {
// Required methods
fn name(&self) -> Name;
fn url(&self) -> &Option<String>;
fn run(&self, params: &LabParams) -> LabResults;
}Expand description
lab: Abstracts over parts of a lab definition of type LabDef:
Hides the Input, Output and Archivist types of a LabDef.
Required Methods§
fn name(&self) -> Name
fn url(&self) -> &Option<String>
fn run(&self, params: &LabParams) -> LabResults
Implementors§
impl<Input: Clone + Debug, EditSt, Output: Eq + Debug, Editor: 'static + Generate<Input> + Edit<Input, EditSt>, Archivist: 'static + ComputeDemand<Input, Output>> Lab for LabDef<Input, EditSt, Output, Editor, Archivist>
Lab experiment implementation: Implements the LabDef trait for any LabArchivist instantiation.