Function has_colon_port

Source
pub fn has_colon_port(a: &str) -> Option<(&str, u16)>
Expand description

If the provided parameter ends with :PORT and PORT is a valid u16, then crack apart and return the LABEL and PORT number portions. Otherwise, returns None