pub trait Runtime:
Debug
+ Send
+ Sync
+ 'static {
// Required methods
fn name(&self) -> Cow<'static, str>;
fn prepare_with_options(
&self,
model: Graph<TypedFact, Box<dyn TypedOp>>,
options: &RunOptions,
) -> Result<Box<dyn Runnable>, Error>;
// Provided method
fn prepare(
&self,
model: Graph<TypedFact, Box<dyn TypedOp>>,
) -> Result<Box<dyn Runnable>, Error> { ... }
}