pub fn poll_local_addr(&mut self) -> Poll<SocketAddr, Error> {
        match self.listener {
            Listener::Listening(_, addr) => Ok(Async::Ready(addr)),
            Listener::Binding(_) => {
                track!(self.listener.poll())?;
                if let Listener::Listening(_, addr) = self.listener {
                    Ok(Async::Ready(addr))
                } else {
                    Ok(Async::NotReady)
                }
            }
        }
    }
/// Polls the address to which the server is bound.
Polls the address to which the server is bound.
Polls the address to which the server is bound .
pub fn poll_local_addr(&mut self) -> Poll<SocketAddr, Error> {
        match self.listener {
            Listener::Listening(_, addr) => Ok(Async::Ready(addr)),
            Listener::Binding(_) => {
                track!(self.listener.poll())?;
                if let Listener::Listening(_, addr) = self.listener {
                    Ok(Async::Ready(addr))
                } else {
                    Ok(Async::NotReady)
                }
            }
        }
    }
pub fn poll_local_addr ( & mut self ) -> Poll < SocketAddr , Error > { match self . listener { Listener :: Listening ( _ , addr ) => Ok ( Async :: Ready ( addr ) ) , Listener :: Binding ( _ ) => { track ! ( self listener poll ( ) ) ? ; if let Listener :: Listening ( _ , addr ) = self . listener { Ok ( Async :: Ready ( addr ) ) } else { Ok ( Async :: NotReady ) } } } }
Polls the address to which the server is bound.
Polls the address to which the server is bound .
&mut self
&mut self