Skip to main content

CustomCommandExecutor

Trait CustomCommandExecutor 

Source
pub(crate) trait CustomCommandExecutor<S>: Send + Sync{
    // Required method
    fn run(
        &self,
        source: Arc<S>,
        chain: &ContextChain<S, SteelCommandRuntime>,
        modifiers: ChainModifiers,
        control: &mut ExecutionControl<'_, S>,
    );
}
Expand description

Special terminal behavior that controls command frames or queues more work.

Required Methods§

Source

fn run( &self, source: Arc<S>, chain: &ContextChain<S, SteelCommandRuntime>, modifiers: ChainModifiers, control: &mut ExecutionControl<'_, S>, )

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§