Type Definition combu::action::Action[][src]

pub type Action = fn(_: Context, _: Command) -> Result<ActionResult, ActionError>;
Expand description

Action is type for command action. It returns Result<ActionResult, ActionError>.