Type Definition slos_hosted::repl::Callback [−][src]
pub type Callback<T> = fn(_: &mut T, _: &[String]) -> Result<()>;
Expand description
REPL command callback type, where T
is the command context
pub type Callback<T> = fn(_: &mut T, _: &[String]) -> Result<()>;
REPL command callback type, where T
is the command context