pub trait MpdCmd {
    type Handler: ResponseHandler;
    const CMD: &'static str;
    // Provided methods
    fn argument(&self) -> Option<String> { ... }
    fn to_cmdline(&self) -> String { ... }
}Required Associated Constants§
Required Associated Types§
Sourcetype Handler: ResponseHandler
 
type Handler: ResponseHandler
The Response handler for this command
Provided Methods§
Sourcefn to_cmdline(&self) -> String
 
fn to_cmdline(&self) -> String
Creates the MPD command line for this 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.