Struct hyper::net::HttpConnector
[−]
[src]
pub struct HttpConnector;
A connector that will produce HttpStreams.
Trait Implementations
impl Debug for HttpConnector
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for HttpConnector
[src]
fn clone(&self) -> HttpConnector
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for HttpConnector
[src]
fn default() -> HttpConnector
[src]
Returns the "default value" for a type. Read more
impl NetworkConnector for HttpConnector
[src]
type Stream = HttpStream
Type of Stream
to create
fn connect(&self, host: &str, port: u16, scheme: &str) -> Result<HttpStream>
[src]
Connect to a remote address.