Skip to main content

is_wildcard_host

Function is_wildcard_host 

Source
pub fn is_wildcard_host(host: &str) -> bool
Expand description

Whether host is a wildcard (“all interfaces”) address.

True for both 0.0.0.0 and its IPv6 equivalent ::, so the two are treated alike when deciding how to describe the bind and how to advertise it.