[][src]Module runtime::prelude

The Runtime Prelude.

Rust comes with a variety of things in its standard library. However, Runtime and Futures provide new functionality outside of it. We want to make Runtime feel as close to standard Rust as possible. We care deeply about usability.

The prelude is the list of things we recommend importing into Runtime programs. It's kept as small as possible, and is focused on things, particularly traits.

To use the prelude do:

use runtime::prelude::*;

Traits

_

Extend AsyncRead with methods to time out execution.

_

Extend Future with methods to time out execution.

_

Extend Stream with methods to time out execution.