[][src]Trait executor::GlobalExecutor

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

Required methods

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

Loading content...

Implementors

impl GlobalExecutor for Executor[src]

Loading content...