solana_net_utils

Function is_host_port

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