pub trait CommandBase {
// Required method
fn setup_command<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Command, SetupError>> + Send + 'async_trait>>
where Self: 'async_trait;
}
Expand description
Declare higher-level operations which desugar to command lines by implementing this trait.
Required Methods§
Sourcefn setup_command<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Command, SetupError>> + Send + 'async_trait>>where
Self: 'async_trait,
fn setup_command<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Command, SetupError>> + Send + 'async_trait>>where
Self: 'async_trait,
Generate a command line from the given object.