Constants§
- DEFAULT_
CONCURRENCY - DEFAULT_
DNS_ TIMEOUT_ MS - DEFAULT_
PING_ TIMEOUT_ MS - DEFAULT_
PORTS - DEFAULT_
SCAN_ TIMEOUT_ MS - DEFAULT_
SUBNET
Functions§
- default_
ipv4_ subnet_ string - default_
ports - detect_
default_ ipv4_ addr - detect_
default_ ipv4_ subnet - parse_
ports - Lenient parser used by internal defaults — silently drops invalid tokens.
Prefer
parse_ports_checkedfor user input so typos are surfaced. - parse_
ports_ checked - Strict parser for user input — rejects any malformed token instead of
silently discarding it.
Some(None)means the input was absent/empty;Errmeans the user typed something that couldn’t be interpreted.