Skip to main content

Crate oxnet

Crate oxnet 

Source
Expand description

§oxnet

oxnet on crates.io Documentation (latest release) License License

An accumulation of primitive networking-related types.

Structs§

IpNetPrefixError
A prefix error during the creation of an IpNet, Ipv4Net, or Ipv6Net
Ipv4Net
An IPv4 subnet
Ipv6Net
An IPv6 subnet
SocketAddrJson
A wrapper around SocketAddr that implements schemars::JsonSchema to indicate the appropriate Rust type to use for generated clients.
SocketAddrV4Json
A wrapper around SocketAddrV4 that implements schemars::JsonSchema to indicate the appropriate Rust type to use for generated clients.
SocketAddrV6Json
A wrapper around SocketAddrV6 that implements schemars::JsonSchema to indicate the appropriate Rust type to use for generated clients.
UnicastLinkLocalIpAddrError
An error during the creation of a UnicastLinkLocalIpAddr, UnicastLinkLocalIpv4Addr or UnicastLinkLocalIpv6Addr.
UnicastLinkLocalIpv4Addr
An IPv4 address guaranteed to exist within the link-local range.
UnicastLinkLocalIpv6Addr
An IPv6 address guaranteed to exist within the Link-local range.

Enums§

IpNet
A subnet, either IPv4 or IPv6
IpNetParseError
An error during the parsing of an IpNet, Ipv4Net, or Ipv6Net
UnicastLinkLocalIpAddr
An IP address, either IPv4 or IPv6, that falls within the Link-Local range.
UnicastLinkLocalIpAddrParseError
An error during the parsing of a UnicastLinkLocalIpAddr, UnicastLinkLocalIpv4Addr or UnicastLinkLocalIpv6Addr.

Constants§

IPV4_NET_WIDTH_MAX
The maximum width of an IPv4 subnet
IPV6_NET_WIDTH_MAX
The highest value for an IPv6 subnet prefix

Traits§

MulticastMac
Trait for deriving multicast MAC addresses from IP addresses.