pub struct TokioRuntime;
This is supported on crate feature tokio only.
Expand description

An AsyncRuntime implementation backed by Tokio.

This runtime is used by default throughout the crate, unless the tokio feature is disabled.

Trait Implementations

The type of the future returned by delay_for. Read more

Spawns an asynchronous task. Read more

Constructs a future that will resolve after duration has elapsed.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.