pub struct NaiveRuntime;
This is supported on crate feature naive-runtime only.
Expand description

An AsyncRuntime implementation backed by the executor in the futures_executor crate.

This runtime should not be used when performance is a concern, as it makes heavy use of threads to compensate for the lack of a timer in the futures executor.

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.