[][src]Module izanami::rt

The abstraction of Tokio runtimes.

Re-exports

pub use tokio_threadpool::blocking as poll_blocking;
pub use tokio_threadpool::BlockingError;

Modules

current_thread

Single-threaded runtime.

Structs

BlockingSection

The future that enters a blocking section of code.

Traits

Runnable

Trait representing the value that drives on the specific runtime and returns a result.

Runtime

A marker trait indicating that the implementor is a Tokio runtime.

Spawn

Trait representing the value to be spawned.

Spawner

A marker trait indicating that the implementor is able to spawn asynchronous tasks.

Functions

blocking_section

Creates a Future to enter the specified blocking section of code.

run

Start the Tokio runtime using the specified task to bootstrap execution.