Re-exports§
pub use super::super::super::__with_name0 as Fields;
pub use super::super::super::__with_name4 as IncomingRequest;
pub use super::super::super::__with_name7 as OutgoingRequest;
pub use super::super::super::__with_name9 as RequestOptions;
pub use super::super::super::__with_name10 as ResponseOutparam;
pub use super::super::super::__with_name5 as IncomingResponse;
pub use super::super::super::__with_name3 as IncomingBody;
pub use super::super::super::__with_name2 as FutureTrailers;
pub use super::super::super::__with_name8 as OutgoingResponse;
pub use super::super::super::__with_name6 as OutgoingBody;
pub use super::super::super::__with_name1 as FutureIncomingResponse;
Structs§
- DnsError
Payload - Defines the case payload type for
DNS-error
above: - Field
Size Payload - Defines the case payload type for
HTTP-response-{header,trailer}-size
above: - TlsAlert
Received Payload - Defines the case payload type for
TLS-alert-received
above:
Enums§
- Error
Code - These cases are inspired by the IANA HTTP Proxy Error Types: https://www.iana.org/assignments/http-proxy-status/http-proxy-status.xhtml#table-http-proxy-error-types
- Header
Error - This type enumerates the different kinds of errors that may occur when
setting or appending to a
fields
resource. - Method
- This type corresponds to HTTP standard Methods.
- Scheme
- This type corresponds to HTTP standard Related Schemes.
Traits§
- GetHost
- Host
- Host
Fields - Host
Future Incoming Response - Host
Future Trailers - Host
Incoming Body - Host
Incoming Request - Host
Incoming Response - Host
Outgoing Body - Host
Outgoing Request - Host
Outgoing Response - Host
Request Options - Host
Response Outparam
Functions§
Type Aliases§
- Duration
- Field
Key - Field keys are always strings.
- Field
Name - Field names are always strings.
- Field
Value - Field values should always be ASCII strings. However, in reality, HTTP implementations often have to interpret malformed values, so they are provided as a list of bytes.
- Headers
- Headers is an alias for Fields.
- Input
Stream - IoError
- Output
Stream - Pollable
- Status
Code - This type corresponds to the HTTP standard Status Code.
- Trailers
- Trailers is an alias for Fields.