service_ref_from_str

Function service_ref_from_str 

Source
pub fn service_ref_from_str(s: &str) -> Option<NamespacedName>
Expand description

Parses a namespace/name string into a NamespacedName.

Whitespace around each segment is trimmed. Returns None unless the input has exactly two non-empty segments separated by a single /.