Trait exonum::helpers::fabric::CommandExtension [] [src]

pub trait CommandExtension {
    fn args(&self) -> Vec<Argument>;
fn execute(&self, context: Context) -> Result<Context, Box<Error>>; }

CommandExtension is used for extending the existing commands.

Required Methods

Returns arguments of the command.

Executes command.

Implementors