Module foundation::prelude
[−]
[src]
Reexports
pub use super::util; |
pub use util::url_join; |
Structs
Accept |
|
Authorization |
|
Body |
A |
Client |
A Client to make outgoing HTTP requests. |
ContentType |
|
Core |
An event loop. |
ETag |
|
Headers |
A map of header fields on requests and responses. |
HttpsConnector |
A Connector for the |
Mime |
A parsed mime or media type. |
Rc |
A single-threaded reference-counting pointer. 'Rc' stands for 'Reference Counted'. |
RefCell |
A mutable memory location with dynamically checked borrow rules |
Request |
An HTTP Request |
Uri |
The Request-URI of a Request's StartLine. |
UserAgent |
|
Enums
FoundationError | |
HttpVersion |
Represents a version of the HTTP spec. |
IfNoneMatch |
|
Method |
The Request Method (VERB) |
StatusCode |
An HTTP status code ( |
Traits
DeserializeOwned |
A data structure that can be deserialized without borrowing any data from the deserializer. |
Executor | |
Future |
Trait for types which are a placeholder of a value that may become available at some later point in time. |
Stream |
A stream of values, not all of which may have been produced yet. |
Functions
ok |
Creates a "leaf future" from an immediate value of a finished and successful computation. |
qitem |
Convenience function to wrap a value in a |