[−][src]Trait kayrx::karx::futures::Runtime
The Runtime for driving the application.
Associated Types
Loading content...Required methods
fn spawner(&self) -> Self::Spawner
Create the instance of Spawner
.
fn exec<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 exec<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 exec<Fut>(&mut self, fut: Fut) -> Fut::Output where
Fut: Future,
[src]
Fut: Future,