pub trait ResultConsumer<S, R> {
// Required method
fn on_command_complete(
&self,
context: Rc<CommandContext<S, R>>,
success: bool,
result: i32,
);
}Required Methods§
fn on_command_complete( &self, context: Rc<CommandContext<S, R>>, success: bool, result: i32, )
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".