[][src]Function libra_network_address::parse_dns_tcp

pub fn parse_dns_tcp(
    protos: &[Protocol]
) -> Option<((IpFilter, &DnsName, u16), &[Protocol])>

parse the &[Protocol] into the "/dns/<domain>/tcp/<port>", "/dns4/<domain>/tcp/<port>", or "/dns6/<domain>/tcp/<port>" prefix and unparsed &[Protocol] suffix.