Module hyper::rt

source · []
Expand description

Default runtime

By default, hyper includes the tokio runtime. To ease using it, several types are re-exported here.

The inclusion of a default runtime can be disabled by turning off hyper’s runtime Cargo feature.

Traits

Trait for types which are a placeholder of a value that may become available at some later point in time.

A stream of values, not all of which may have been produced yet.

Functions

Creates a new future which will eventually be the same as the one created by the closure provided.

Creates a new future wrapping around a function returning Poll.

Start the Tokio runtime using the supplied future to bootstrap execution.

Spawns a future on the default executor.