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

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

A Http Listener over SSL.


impl<S> HttpsListener<S> where
    S: SslServer<HttpStream>, 

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

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

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

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

impl<S> Send for HttpsListener<S> where
    S: Send

impl<S> Sync for HttpsListener<S> where
    S: Sync

impl<S> Unpin for HttpsListener<S> where
    S: Unpin

impl<S> UnwindSafe for HttpsListener<S> where
    S: UnwindSafe

Blanket Implementations

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

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> IntoCollection<T> for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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>,