Skip to main content

Runner

Trait Runner 

Source
pub trait Runner:
    Send
    + Sync
    + 'static {
    // Required method
    fn block_on(&self, fut: BlockFuture) -> Result<(), Box<dyn Any + Send>>;
}

Required Methods§

Source

fn block_on(&self, fut: BlockFuture) -> Result<(), Box<dyn Any + Send>>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§