pub(crate) trait CommandRuntime<S>: 'static {
type Argument: CommandArgumentParser<S, Value = Self::ArgumentValue>;
type ArgumentValue: Clone + Send + Sync + 'static;
type Executor: Send + Sync + ?Sized;
type Modifier: Send + Sync + ?Sized;
}Expand description
Selects the executor and redirect-modifier representations stored in a graph.
Required Associated Types§
type Argument: CommandArgumentParser<S, Value = Self::ArgumentValue>
type ArgumentValue: Clone + Send + Sync + 'static
type Executor: Send + Sync + ?Sized
type Modifier: Send + Sync + ?Sized
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".