Struct hyper::net::HttpsConnector
[−]
[src]
pub struct HttpsConnector<S: SslClient, C: NetworkConnector = HttpConnector> { /* fields omitted */ }
A connector that can protect HTTP streams using SSL.
Methods
impl<S: SslClient> HttpsConnector<S, HttpConnector>[src]
impl<S: SslClient> HttpsConnector<S, HttpConnector>pub fn new(s: S) -> HttpsConnector<S, HttpConnector>[src]
pub fn new(s: S) -> HttpsConnector<S, HttpConnector>Create a new connector using the provided SSL implementation.
impl<S: SslClient, C: NetworkConnector> HttpsConnector<S, C>[src]
impl<S: SslClient, C: NetworkConnector> HttpsConnector<S, C>pub fn with_connector(s: S, connector: C) -> HttpsConnector<S, C>[src]
pub fn with_connector(s: S, connector: C) -> HttpsConnector<S, C>Create a new connector using the provided SSL implementation.
Trait Implementations
impl<S: Debug + SslClient, C: Debug + NetworkConnector> Debug for HttpsConnector<S, C>[src]
impl<S: Debug + SslClient, C: Debug + NetworkConnector> Debug for HttpsConnector<S, C>fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<S: Default + SslClient, C: Default + NetworkConnector> Default for HttpsConnector<S, C>[src]
impl<S: Default + SslClient, C: Default + NetworkConnector> Default for HttpsConnector<S, C>fn default() -> HttpsConnector<S, C>[src]
fn default() -> HttpsConnector<S, C>Returns the "default value" for a type. Read more
impl<S: SslClient, C: NetworkConnector<Stream = HttpStream>> NetworkConnector for HttpsConnector<S, C>[src]
impl<S: SslClient, C: NetworkConnector<Stream = HttpStream>> NetworkConnector for HttpsConnector<S, C>Auto Trait Implementations
impl<S, C> Send for HttpsConnector<S, C> where
C: Send,
S: Send,
impl<S, C> Send for HttpsConnector<S, C> where
C: Send,
S: Send, impl<S, C> Sync for HttpsConnector<S, C> where
C: Sync,
S: Sync,
impl<S, C> Sync for HttpsConnector<S, C> where
C: Sync,
S: Sync,