Crate cidr_map

Source

Structs§

CidrMap
CidrSet
InnerNode
Inner node with two direct children.
Iter
Iterate over tree
Leaf
Leaf nodes represent prefixes part of the set

Enums§

AnyIpCidr
Represents either an IPv4 or an IPv6 network or “any”.
IpCidr
Cidr type representing either an IPv4 or an IPv6 network
Node
Nodes of a CidrMap can be either an InnerNode (with two children) or a leaf node.

Functions§

parse_cidr
The underlying AnyIpCidr::from_str parser is very strict and its error messages are a little too terse. We use this alternative parser to augment the error messages with more context and suggestions.
register