pub trait SyncResolve: Resolvable {
    // Required method
    fn res_sync(self) -> <Self as Resolvable>::To;

    // Provided method
    fn res(self) -> <Self as Resolvable>::To
       where Self: Sized { ... }
}

Required Methods§

source

fn res_sync(self) -> <Self as Resolvable>::To

Provided Methods§

source

fn res(self) -> <Self as Resolvable>::To
where Self: Sized,

Implementors§

source§

impl<C, To> SyncResolve for ResolveClosure<C, To>
where To: Sized + Send, C: FnOnce() -> To + Send,

source§

impl<F, To> SyncResolve for ResolveFuture<F, To>
where To: Sized + Send, F: Future<Output = To> + Send,