[−][src]Struct hyper::net::HttpsListener
A Http Listener over SSL.
Implementations
impl<S: SslServer> HttpsListener<S>[src]
pub fn new<To: ToSocketAddrs>(addr: To, ssl: S) -> Result<HttpsListener<S>>[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 + SslServer> Clone for HttpsListener<S>[src]
fn clone(&self) -> HttpsListener<S>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<S: SslServer + Clone> NetworkListener for HttpsListener<S>[src]
type Stream = S::Stream
The stream produced for each connection.
fn accept(&mut self) -> Result<S::Stream>[src]
fn local_addr(&mut self) -> Result<SocketAddr>[src]
fn set_read_timeout(&mut self, duration: Option<Duration>)[src]
fn set_write_timeout(&mut self, duration: Option<Duration>)[src]
fn incoming(&mut self) -> NetworkConnections<Self>[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for HttpsListener<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Send for HttpsListener<S> where
S: Send,
S: Send,
impl<S> Sync for HttpsListener<S> where
S: Sync,
S: Sync,
impl<S> Unpin for HttpsListener<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for HttpsListener<S> where
S: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Typeable for T where
T: Any, [src]
T: Any,