[][src]Trait constellation::FutureExt1

pub trait FutureExt1: Future {
    fn block(self) -> Self::Output
    where
        Self: Sized
, { ... } }

Extension trait to provide convenient block() method on futures.

Named FutureExt1 to avoid clashing with futures::future::FutureExt.

Provided methods

fn block(self) -> Self::Output where
    Self: Sized

Convenience method over futures::executor::block_on(future).

Loading content...

Implementors

impl<T: ?Sized> FutureExt1 for T where
    T: Future
[src]

Loading content...