pub fn port(&self) -> Option<u16> {
    match self {
      DnsTarget::PreferHigher { port, .. } => Some(*port),
      DnsTarget::Dns6 { port, .. } => Some(*port),
      DnsTarget::Dns4 { port, .. } => Some(*port),
    }
  }
/// Exposed port for the specified address
///
/// Not all DNS records have a constant, known port; See [SRV records](https://en.wikipedia.org/wiki/SRV_record)
Exposed port for the specified address
Not all DNS records have a constant, known port; See [SRV records]
Exposed port for the specified address Not all DNS records have a constant known port ; See [ SRV records ]
pub fn port(&self) -> Option<u16> {
    match self {
      DnsTarget::PreferHigher { port, .. } => Some(*port),
      DnsTarget::Dns6 { port, .. } => Some(*port),
      DnsTarget::Dns4 { port, .. } => Some(*port),
    }
  }
pub fn port ( & self ) -> Option < u16 > { match self { DnsTarget :: PreferHigher { port , .. } => Some ( * port ) , DnsTarget :: Dns6 { port , .. } => Some ( * port ) , DnsTarget :: Dns4 { port , .. } => Some ( * port ) , } }
Exposed port for the specified address
Not all DNS records have a constant, known port; See [SRV records](https://en.wikipedia.org/wiki/SRV_record)
Exposed port for the specified address Not all DNS records have a constant known port ; See [ SRV records ] ( https : // en . wikipedia . org / wiki / SRV_record )
&self
&self