pub trait CommandBase {
    // Required method
    async fn setup_command(self) -> Result<Command, SetupError>;
}
Expand description

Declare higher-level operations which desugar to command lines by implementing this trait.

Required Methods§

source

async fn setup_command(self) -> Result<Command, SetupError>

Generate a command line from the given object.

Object Safety§

This trait is not object safe.

Implementors§