pub trait ResultConsumer<S, R> {
// Required method
fn on_command_complete(
&self,
context: Rc<CommandContext<S, R>>,
success: bool,
result: i32,
);
}pub trait ResultConsumer<S, R> {
// Required method
fn on_command_complete(
&self,
context: Rc<CommandContext<S, R>>,
success: bool,
result: i32,
);
}