Trait Executor

Source
pub trait Executor {
    // Required methods
    async fn prepare(&mut self) -> Result<()>;
    async fn run(&mut self) -> Result<()>;
}

Required Methods§

Source

async fn prepare(&mut self) -> Result<()>

Source

async fn run(&mut self) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§