pub trait RuntimeInterface: Debug {
type Runnable: RunnableInterface;
type Model: ModelInterface;
// Required methods
fn name(&self) -> Result<String>;
fn prepare(&self, model: Self::Model) -> Result<Self::Runnable>;
}Required Associated Types§
type Runnable: RunnableInterface
type Model: ModelInterface
Required Methods§
fn name(&self) -> Result<String>
fn prepare(&self, model: Self::Model) -> Result<Self::Runnable>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".