Skip to main content

is_loopback

Function is_loopback 

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

True for every spelling of this machine: localhost, *.localhost (RFC 6761), 127.0.0.0/8, ::1 and its IPv4-mapped form.