Struct iron::Listening [] [src]

pub struct Listening {
    pub socket: SocketAddr,
    // some fields omitted

A listening server, which can later be closed.


The socket addresses that the server is bound to.


impl Listening


Warning: This function doesn't work. The server remains listening after you called it. See for more details.

Stop the server from listening to its socket address.

Trait Implementations

impl Debug for Listening


Formats the value using the given formatter.

impl Drop for Listening