[−][src]Trait rye_runtime::Runtime
The runtime for driving the test application.
Associated Types
Loading content...Required methods
fn spawner(&self) -> Self::Spawner
Create the instance of Spawner
.
fn block_on<Fut>(&mut self, fut: Fut) -> Fut::Output where
Fut: Future,
Fut: Future,
Run a future and wait for its result.
Implementations on Foreign Types
impl<'_, T: ?Sized> Runtime for &'_ mut T where
T: Runtime,
[src]
T: Runtime,
type Spawner = T::Spawner
fn spawner(&self) -> Self::Spawner
[src]
fn block_on<Fut>(&mut self, fut: Fut) -> Fut::Output where
Fut: Future,
[src]
Fut: Future,
impl<T: ?Sized> Runtime for Box<T> where
T: Runtime,
[src]
T: Runtime,
type Spawner = T::Spawner
fn spawner(&self) -> Self::Spawner
[src]
fn block_on<Fut>(&mut self, fut: Fut) -> Fut::Output where
Fut: Future,
[src]
Fut: Future,