Skip to main content

is_trusted

Function is_trusted 

Source
pub fn is_trusted(ip: IpAddr, trusted: &[IpNet]) -> bool
Expand description

Whether ip (IPv4-mapped IPv6 counted as IPv4) lies inside one of trusted.