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§
- Socket
Addr Opaque - Opaque type equivalent to
sockaddr
in C. - Socket
Addr Storage struct sockaddr_storage
Traits§
- Socket
Addr Arg - A trait abstracting over the types that can be passed as a
sockaddr
.
Functions§
- call_
with_ 🔒 ⚠sockaddr - Helper for implementing
SocketAddrArg::with_sockaddr
.
Type Aliases§
- Socket
Addr Len - A type for the length of a socket address.