[][src]Trait tokio_global::AutoRuntime

pub trait AutoRuntime: Future {
    fn finish(self) -> Result<Self::Item, Self::Error>;
}

Trait to bootstrap your futures.

Required methods

fn finish(self) -> Result<Self::Item, Self::Error>

Runs futures to completion.

Note

It must not be used from within async context

Loading content...

Implementors

impl<F: Send + 'static + Future<Item = I, Error = E>, I: Send + 'static, E: Send + 'static> AutoRuntime for F[src]

Loading content...