Skip to main content

EntryAction

Trait EntryAction 

Source
pub(crate) trait EntryAction<S>: Send + 'static{
    // 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§

Source

fn execute( self: Box<Self>, context: &mut CommandExecutionContext<S>, frame: Frame, )

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§