pub fn parse(definition: &str) -> Result<ServiceObj, String>Expand description
Create a transport definition from a string such as "tcp/22" or "icmp/echo-request".
pub fn parse(definition: &str) -> Result<ServiceObj, String>Create a transport definition from a string such as "tcp/22" or "icmp/echo-request".