cidr_
map
0.1.0
All Items
Crate Items
Structs
Enums
Functions
Crate
cidr_map
Copy item path
Source
Structs
§
CidrMap
CidrSet
Inner
Node
Inner node with two direct children.
Iter
Iterate over tree
Leaf
Leaf nodes represent prefixes part of the set
Enums
§
AnyIp
Cidr
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