pub trait RuntimeDef {
type Cli: CommandCli;
type Conf: Default + Serialize + for<'de> Deserialize<'de>;
const NAME: &'static str;
const VERSION: &'static str;
}
Expand description
Runtime definition trait.
Auto-generated with #[derive(RuntimeDef)]
Required Associated Constants§
Required Associated Types§
type Cli: CommandCli
type Conf: Default + Serialize + for<'de> Deserialize<'de>
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.