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

pub struct HttpsListener<S> where
    S: SslServer<HttpStream>, 
{ /* fields omitted */ }

A Http Listener over SSL.

Implementations

impl<S> HttpsListener<S> where
    S: SslServer<HttpStream>, 
[src]

pub fn new<To>(addr: To, ssl: S) -> Result<HttpsListener<S>, Error> where
    To: ToSocketAddrs
[src]

Start listening to an address over HTTPS.

pub fn with_listener(listener: HttpListener, ssl: S) -> HttpsListener<S>[src]

Construct an HttpsListener from a bound TcpListener.

Trait Implementations

impl<S> Clone for HttpsListener<S> where
    S: SslServer<HttpStream> + Clone
[src]

impl<S> NetworkListener for HttpsListener<S> where
    S: SslServer<HttpStream> + Clone
[src]

type Stream = <S as SslServer<HttpStream>>::Stream

The stream produced for each connection.

Auto Trait Implementations

impl<S> RefUnwindSafe for HttpsListener<S> where
    S: RefUnwindSafe
[src]

impl<S> Send for HttpsListener<S> where
    S: Send
[src]

impl<S> Sync for HttpsListener<S> where
    S: Sync
[src]

impl<S> Unpin for HttpsListener<S> where
    S: Unpin
[src]

impl<S> UnwindSafe for HttpsListener<S> where
    S: UnwindSafe
[src]

Blanket Implementations

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

impl<T, I> AsResult<T, I> for T where
    I: Input
[src]

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

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

impl<T> From<T> for T[src]

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

impl<T> IntoCollection<T> for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,