pub fn udp(&self) -> Option<SocketAddr> {
        match &self.config {
            PubSubKind::Udp(addr) => Some(*addr),
            _ => None,
        }
    }
/// Get the UDP socket address for a UDP endpoint.
Get the UDP socket address for a UDP endpoint.
Get the UDP socket address for a UDP endpoint .
pub fn udp(&self) -> Option<SocketAddr> {
        match &self.config {
            PubSubKind::Udp(addr) => Some(*addr),
            _ => None,
        }
    }
pub fn udp ( & self ) -> Option < SocketAddr > { match & self . config { PubSubKind :: Udp ( addr ) => Some ( * addr ) , _ => None , } }
Get the UDP socket address for a UDP endpoint.
Get the UDP socket address for a UDP endpoint .
&self
&self