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