Trait vortex_file::AsyncRuntime

source ·
pub trait AsyncRuntime {
    // Required method
    fn block_on<F: Future>(&self, fut: F) -> F::Output;
}

Required Methods§

source

fn block_on<F: Future>(&self, fut: F) -> F::Output

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl AsyncRuntime for Runtime

source§

fn block_on<F: Future>(&self, fut: F) -> F::Output

Implementors§