[][src]Trait executor::GlobalExecutor

pub trait GlobalExecutor {
    fn spawn(
        &mut self,
        future: Box<dyn Future<Output = ()> + Send + Unpin + 'static>
    );
fn poll_tasks(&mut self); }

Required methods

fn spawn(
    &mut self,
    future: Box<dyn Future<Output = ()> + Send + Unpin + 'static>
)

fn poll_tasks(&mut self)

Loading content...

Implementors

impl GlobalExecutor for Executor[src]

Loading content...