RunFunc

Type Alias RunFunc 

Source
pub type RunFunc = Box<dyn Fn(&mut Context) -> Result<()> + Send + Sync>;
Expand description

Type alias for the function that executes when a command runs

Aliased Typeยง

pub struct RunFunc(/* private fields */);