Trait futures::executor::Executor [] [src]

pub trait Executor: Send + Sync + 'static {
    fn execute(&self, r: Run);
}

A trait representing requests to poll futures.

This trait is an argument to the Spawn::execute which is used to run a future to completion. An executor will receive requests to run a future and an executor is responsible for ensuring that happens in a timely fashion.

Required Methods

Requests that Run is executed soon on the given executor.

Implementors