[−][src]Module 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.
Re-exports
pub use crate::future; |
pub use crate::stream; |
pub use crate::sink; |
Traits
AsyncRead | Read bytes asynchronously. |
AsyncReadExt | An extension trait which adds utility methods to |
AsyncWrite | Write bytes asynchronously. |
AsyncWriteExt | An extension trait which adds utility methods to |
Future | Experimental A future represents an asynchronous computation. |
FutureExt | An extension trait for |
Sink | A |
SinkExt | An extension trait for |
Stream | A stream of values produced asynchronously. |
StreamExt | An extension trait for |
TryFuture | A convenience for futures that return |
TryFutureExt | Adapters specific to |
TryStream | A convenience for streams that return |
TryStreamExt | Adapters specific to |