Module async_http_client::prelude
[−]
[src]
Commonly needed reexports from futures and tokio-core.
Structs
Core |
An event loop. |
TcpStream |
An I/O object representing a TCP stream connected to a remote endpoint. |
Traits
Future |
Trait for types which are a placeholder of a value that may become available at some later point in time. |
IntoFuture |
Class of types which can be converted into a future. |
Io |
[ Deprecated ] A trait for read/write I/O objects |
Sink |
A |
Stream |
A stream of values, not all of which may have been produced yet. |
Functions
empty |
Creates a future which never resolves, representing a computation that never finishes. |
err |
Creates a "leaf future" from an immediate value of a failed computation. |
lazy |
Creates a new future which will eventually be the same as the one created by the closure provided. |
ok |
Creates a "leaf future" from an immediate value of a finished and successful computation. |
result |
Creates a new "leaf future" which will resolve with the given result. |
Type Definitions
BoxFuture |
A type alias for |