[][src]Crate in_addr

This crate exposes a common interface to in_addr between Unix and Windows.

There are two types in this crate.

  • in_addr, a type alias to the platform specific version of this type. Use this in the signature of extern functions.
  • InAddr, a newtype wrapper around in_addr. It implements conversions to and from u32, std::net::Ipv4Addr, and in_addr.

Structs

InAddr

Wrapper around in_addr on which From is implemented.

Type Definitions

in_addr

Type alias to the Unix version of in_addr.