InstructionHandler

Type Alias InstructionHandler 

Source
pub type InstructionHandler = Box<dyn FnOnce(HandlerContext) -> BoxFuture<'static, Option<InstructionReply>> + Send>;
Expand description

Handler of the instruction.

Aliased Typeยง

pub struct InstructionHandler(/* private fields */);