Skip to main content

parse_ports

Function parse_ports 

Source
pub fn parse_ports(input: Option<&str>) -> Option<Vec<u16>>
Expand description

Lenient parser used by internal defaults — silently drops invalid tokens. Prefer parse_ports_checked for user input so typos are surfaced.