Skip to main content

CommandFn

Type Alias CommandFn 

Source
pub type CommandFn = Rc<dyn Fn(&Call<'_>) -> Result<Value, String>>;
Expand description

A command handler.

Aliased Typeยง

pub struct CommandFn { /* private fields */ }