solana_clap_utils::input_validators

Function is_port

Source
pub fn is_port<T>(port: T) -> Result<(), String>
where T: AsRef<str> + Display,