[][src]Function libra_network_address::parse_memory

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

parse the &[Protocol] into the "/memory/<port>" prefix and unparsed &[Protocol] suffix.