pub fn new_shutdown(
        addr: &SocketAddr,
        services: impl Into<Option<PeerServices>>,
    ) -> MetaAddrChange {
        // TODO: if the peer shut down in the Responded state, preserve that
        // state. All other states should be treated as (timeout) errors.
        MetaAddr::new_errored(addr, services.into())
    }
/// Create a new `MetaAddr` for a peer that has just shut down.
Create a new `MetaAddr` for a peer that has just shut down.
Create a new ` MetaAddr ` for a peer that has just shut down .
pub fn new_shutdown(
        addr: &SocketAddr,
        services: impl Into<Option<PeerServices>>,
    ) -> MetaAddrChange {
        // TODO: if the peer shut down in the Responded state, preserve that
        // state. All other states should be treated as (timeout) errors.
        MetaAddr::new_errored(addr, services.into())
    }
pub fn new_shutdown ( addr : & SocketAddr , services : impl Into < Option < PeerServices > > , ) -> MetaAddrChange { // TODO: if the peer shut down in the Responded state, preserve that // state. All other states should be treated as (timeout) errors. MetaAddr :: new_errored ( addr , services . into ( ) ) }
Create a new `MetaAddr` for a peer that has just shut down.
Create a new ` MetaAddr ` for a peer that has just shut down .
addr
&SocketAddr
services
impl Into<Option<PeerServices>>