[][src]Module geng_core::prelude::futures::prelude

A "prelude" for crates using the futures crate.

This prelude is similar to the standard library's prelude in that you'll almost always want to import its entire contents, but unlike the standard library's prelude you'll have to do so manually:

use futures::prelude::*;

The prelude may grow over time as additional items see ubiquitous use.

Modules

sink

Asynchronous sinks.

stream

Asynchronous streams.

Traits

AsyncBufRead

Read bytes asynchronously.

AsyncRead

Read bytes asynchronously.

AsyncSeek

Seek bytes asynchronously.

AsyncWrite

Write bytes asynchronously.

Future

A future represents an asynchronous computation.

Sink

A Sink is a value into which other values can be sent, asynchronously.

Stream

A stream of values produced asynchronously.

TryFuture

A convenience for futures that return Result values that includes a variety of adapters tailored to such futures.

TryStream

A convenience for streams that return Result values that includes a variety of adapters tailored to such futures.

_

An extension trait for Futures that provides a variety of convenient adapters.

_

Adapters specific to Result-returning futures

_

An extension trait which adds utility methods to AsyncRead types.

_

An extension trait which adds utility methods to AsyncWrite types.

_

An extension trait which adds utility methods to AsyncSeek types.

_

An extension trait which adds utility methods to AsyncBufRead types.

_

An extension trait for Streams that provides a variety of convenient combinator functions.

_

Adapters specific to Result-returning streams

_

An extension trait for Sinks that provides a variety of convenient combinator functions.