pub trait RuntimeBuilder: Debug {
type Runtime: Runtime;
// Required methods
fn name() -> &'static str;
fn new(bin_root: PathBuf, home: PathBuf) -> Result<Self::Runtime, Error>;
fn with_home(
bin_root: PathBuf,
home: PathBuf,
) -> Result<Self::Runtime, Error>;
}
Available on Unix only.
Expand description
Abstract factory for Runtime
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.