Module cidr_utils::cidr
source · Expand description
This module provides data structures for IPv4 CIDRs and IPv6 CIDRs.
Structs
- To iterate IP CIDRs.
- To represent IPv4 CIDR.
- To iterate IPv4 CIDRs.
- To iterate IPv4 CIDRs.
- To iterate IPv4 CIDRs.
- To represent IPv6 CIDR.
- To iterate IPv4 CIDRs.
- To iterate IPv6 CIDRs.
- To iterate IPv6 CIDRs.
- To iterate IPv6 CIDRs.
Enums
- Possible errors of
IpCidr
. - Possible errors of
Ipv4Cidr
. - Possible errors of
Ipv6Cidr
.
Traits
- The type which can be taken as an IPv4 address. An
u32
value represents an IPv4 byte array ([u8; 4]
) in big-endian (BE) order. - The type which can be taken as an IPv6 address. An
u128
value represents an IPv6 byte array ([u8; 16]
) in big-endian (BE) order.