Skip to main content

NativeCommand

Trait NativeCommand 

Source
pub trait NativeCommand: Send + Sync {
    // Required methods
    fn describe(&self) -> DescribeCommandV1;
    fn execute(
        &self,
        args: &[String],
        context: &NativeCommandContext<'_>,
    ) -> Result<NativeCommandOutcome>;
}

Required Methods§

Implementors§