Function diem_sdk::types::network_address::parse_memory [−][src]
pub fn parse_memory(protos: &[Protocol]) -> Option<(u16, &[Protocol])>
Expand description
parse the &[Protocol]
into the "/memory/<port>"
prefix and unparsed
&[Protocol]
suffix.