[][src]Struct rocket::http::hyper::net::HttpsConnector

pub struct HttpsConnector<S, C = HttpConnector> where
    C: NetworkConnector,
    S: SslClient<HttpStream>, 
{ /* fields omitted */ }

A connector that can protect HTTP streams using SSL.

Methods

impl<S> HttpsConnector<S, HttpConnector> where
    S: SslClient<HttpStream>, 
[src]

Create a new connector using the provided SSL implementation.

impl<S, C> HttpsConnector<S, C> where
    C: NetworkConnector,
    S: SslClient<HttpStream>, 
[src]

Create a new connector using the provided SSL implementation.

Trait Implementations

impl<S, C> NetworkConnector for HttpsConnector<S, C> where
    C: NetworkConnector<Stream = HttpStream>,
    S: SslClient<HttpStream>, 
[src]

Type of Stream to create

impl<S, C> Debug for HttpsConnector<S, C> where
    C: NetworkConnector + Debug,
    S: SslClient<HttpStream> + Debug
[src]

impl<S, C> Default for HttpsConnector<S, C> where
    C: NetworkConnector + Default,
    S: SslClient<HttpStream> + Default
[src]

Auto Trait Implementations

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

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<F> NetworkConnector for F where
    F: Fn(&str, u16, &str) -> Result<TcpStream, Error>, 
[src]

Type of Stream to create

impl<T> Typeable for T where
    T: Any

Get the TypeId of this object.

impl<T> IntoCollection for T

impl<T, I> AsResult for T where
    I: Input,