Skip to main content

CommandCallback

Type Alias CommandCallback 

Source
pub type CommandCallback = Rc<dyn Fn(&'static str)>;
Expand description

Callback type for command execution events (receives command ID).

Aliased Typeยง

pub struct CommandCallback { /* private fields */ }