🔬This is a nightly-only experimental API. (
ip_in_core
#108443)Expand description
Networking primitives for IP communication.
This module provides types for IP and socket addresses.
Organization
IpAddr
represents IP addresses of either IPv4 or IPv6;Ipv4Addr
andIpv6Addr
are respectively IPv4 and IPv6 addressesSocketAddr
represents socket addresses of either IPv4 or IPv6;SocketAddrV4
andSocketAddrV6
are respectively IPv4 and IPv6 socket addresses
Modules
- A private parser implementation of IPv4, IPv6, and socket addresses.
Structs
- An error which can be returned when parsing an IP address or a socket address.
- An IPv4 address.
- An IPv6 address.
- An IPv4 socket address.
- An IPv6 socket address.
Enums
- Ipv6MulticastScopeExperimentalScope of an IPv6 multicast address as defined in IETF RFC 7346 section 2.
- An IP address, either IPv4 or IPv6.
- An internet socket address, either IPv4 or IPv6.