pub(crate) trait EntryAction<S>: Send + 'staticwhere
S: ExecutionCommandSource,{
// Required method
fn execute(
self: Box<Self>,
context: &mut CommandExecutionContext<S>,
frame: Frame,
);
// Provided methods
fn runs_after_command_limit(&self) -> bool { ... }
fn cancel(&mut self) { ... }
}Required Methods§
fn execute( self: Box<Self>, context: &mut CommandExecutionContext<S>, frame: Frame, )
Provided Methods§
fn runs_after_command_limit(&self) -> bool
fn cancel(&mut self)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".