Skip to main content

TeksiloAppBuilderAsyncStdExt

Trait TeksiloAppBuilderAsyncStdExt 

Source
pub trait TeksiloAppBuilderAsyncStdExt {
    // Required method
    fn install_async_async_std(self) -> Self;
}
Expand description

Adds install_async_async_std to the app builder.

Required Methods§

Source

fn install_async_async_std(self) -> Self

Install the main-thread executor for use with async-std futures. Since async-std’s reactor is global and auto-starting, this is install_async — the value of this crate is pulling async-std into the dependency tree and providing a discoverable, parallel entry point to teksilo-tokio.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TeksiloAppBuilderAsyncStdExt for TeksiloAppBuilder

Implementors§