Module addr

Source
Expand description

Types for implementers of socket address types or code that is generic over address types.

The concrete address types and SocketAddrAny are in the parent module.

Structs§

SocketAddrOpaque
Opaque type equivalent to sockaddr in C.
SocketAddrStorage
struct sockaddr_storage

Traits§

SocketAddrArg
A trait abstracting over the types that can be passed as a sockaddr.

Type Aliases§

SocketAddrLen
A type for the length of a socket address.