/// Stop the server from listening to all of its socket addresses.
///
/// If closing any of the servers acceptors fails, this function returns Err
/// and does not close the rest of the acceptors.
Stop the server from listening to all of its socket addresses.
If closing any of the servers acceptors fails, this function returns Err
and does not close the rest of the acceptors.
Stop the server from listening to all of its socket addresses . If closing any of the servers acceptors fails this function returns Err and does not close the rest of the acceptors .
pub fn close(&mut self) -> HttpResult<()> {
        debug!("closing server");
        for acceptor in self.acceptors.iter_mut() {
            try_io!(acceptor.close());
        }
        Ok(())
    }
pub fn close ( & mut self ) -> HttpResult < ( ) > { debug ! ( " " ) ; for acceptor in self . acceptors . iter_mut ( ) { try_io ! ( acceptor close ( ) ) ; } Ok ( ( ) ) }
Stop the server from listening to all of its socket addresses.
Stop the server from listening to all of its socket addresses .
&mut self