Module polkadot_node_subsystem::gen::futures::prelude
source · Expand description
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
Traits
Read bytes asynchronously.
Read bytes asynchronously.
Seek bytes asynchronously.
Write bytes asynchronously.
A
Sink is a value into which other values can be sent, asynchronously.A stream of values produced asynchronously.
A convenience for futures that return
Result values that includes
a variety of adapters tailored to such futures.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.An extension trait for
Sinks that provides a variety of convenient
combinator functions.An extension trait for
Streams that provides a variety of convenient
combinator functions.Adapters specific to
Result-returning streamsAn extension trait which adds utility methods to
AsyncBufRead types.An extension trait which adds utility methods to
AsyncRead types.An extension trait which adds utility methods to
AsyncSeek types.An extension trait which adds utility methods to
AsyncWrite types.