pub trait VirtualTaskManagerExt {
    // Required method
    fn block_on<'a, A>(&self, task: impl Future<Output = A> + 'a) -> A;
}
Expand description

Generic utility methods for VirtualTaskManager

Required Methods§

source

fn block_on<'a, A>(&self, task: impl Future<Output = A> + 'a) -> A

Implementations on Foreign Types§

source§

impl<'a, T: VirtualTaskManager> VirtualTaskManagerExt for &'a T

source§

fn block_on<'x, A>(&self, task: impl Future<Output = A> + 'x) -> A

source§

impl<T: VirtualTaskManager + ?Sized> VirtualTaskManagerExt for Arc<T>

source§

fn block_on<'x, A>(&self, task: impl Future<Output = A> + 'x) -> A

Implementors§