solana_net_utils

Function is_host_port

Source
pub fn is_host_port(string: String) -> Result<(), String>