Type Definition repl_rs::Callback[][src]

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

Command callback function signature