Type Alias Callback

Source
pub type Callback<Context, Error> = fn(HashMap<String, Value>, &mut Context) -> Result<Option<String>, Error>;
Expand description

Command callback function signature