pub fn is_trusted_proxy(ip: IpAddr, trusted: &[IpNet]) -> bool
Returns whether ip is covered by the trusted proxy list.
ip