pub(super) fn incoming_addrs(&self) -> Option<&BTreeSet<SocketAddr>> {
        match self {
            ConnectionSymmetry::IncomingOnly { peer_addrs, .. }
            | ConnectionSymmetry::Symmetric { peer_addrs, .. } => Some(peer_addrs),
            ConnectionSymmetry::OutgoingOnly { .. } | ConnectionSymmetry::Gone => None,
        }
    }
/// Returns the set of incoming addresses, if any.
Returns the set of incoming addresses, if any.
Returns the set of incoming addresses if any .
pub(super) fn incoming_addrs(&self) -> Option<&BTreeSet<SocketAddr>> {
        match self {
            ConnectionSymmetry::IncomingOnly { peer_addrs, .. }
            | ConnectionSymmetry::Symmetric { peer_addrs, .. } => Some(peer_addrs),
            ConnectionSymmetry::OutgoingOnly { .. } | ConnectionSymmetry::Gone => None,
        }
    }
pub ( super ) fn incoming_addrs ( & self ) -> Option < & BTreeSet < SocketAddr > > { match self { ConnectionSymmetry :: IncomingOnly { peer_addrs , .. } | ConnectionSymmetry :: Symmetric { peer_addrs , .. } => Some ( peer_addrs ) , ConnectionSymmetry :: OutgoingOnly { .. } | ConnectionSymmetry :: Gone => None , } }
Returns the set of incoming addresses, if any.
Returns the set of incoming addresses if any .
&self
&self