hyper::rt

Trait Executor

Source
pub trait Executor<Fut> {
    // Required method
    fn execute(&self, fut: Fut);
}
Expand description

An executor of futures.

Required Methods§

Source

fn execute(&self, fut: Fut)

Place the future into the executor to be run.

Implementors§