ipnetx is the crate for set operations on IP address space — union, intersection, difference, and complement over arbitrary collections of ranges and CIDR prefixes, for both IPv4 and IPv6.
// The Sealed trait is a library contract.
// - It stops users of the crate from implementing it for their own types.
pubtraitSealed{}implSealed forstd::net::Ipv4Addr{}implSealed forstd::net::Ipv6Addr{}