Struct hyper::server::Listening
[−]
[src]
pub struct Listening { /* fields omitted */ }
A handle of the running server.
Methods
impl Listening
[src]
fn addr(&self) -> &SocketAddr
The addresses this server is listening on.
fn close(self)
Stop the server from listening to its socket address.