pub trait Configurable: Command {
type Config;
// Required method
fn with_config(self, config: Self::Config) -> Self;
}
Expand description
Trait for commands that can be configured
Required Associated Types§
Required Methods§
Sourcefn with_config(self, config: Self::Config) -> Self
fn with_config(self, config: Self::Config) -> Self
Apply configuration to the command
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.