Expand description
Common types for dealing with sockets.
Structs§
- Addr
IsMapped Error - The addr could not be converted to a
NonMappedAddr
. - Conn
Info - Information associated with a datagram connection.
- Expected
Conn Error - A connected socket was expected.
- Expected
Unbound Error - An unbound socket was expected.
- Listener
Info - Information associated with a datagram listener.
- NotDual
Stack Capable Error - An error encountered when attempting to perform dual stack operations on socket with a non dual stack capable protocol.
- Strictly
Zoned Addr - A
ZonedAddr
whose address isZoned
iff a zone is required.
Enums§
- Connect
Error - An error when attempting to create a datagram socket.
- Multicast
Interface Selector - Selector for the device to affect when changing multicast settings.
- Multicast
Membership Interface Selector - Selector for the device to use when changing multicast membership settings.
- Send
Error - Error encountered when sending a datagram on a socket.
- Send
ToError - An error encountered while sending a datagram packet to an alternate address.
- SetDual
Stack Enabled Error - An error encountered while enabling or disabling dual-stack operation.
- SetMulticast
Membership Error - Error resulting from attempting to change multicast membership settings for a socket.
- Shutdown
Type - Which direction(s) to shut down for a socket.
- Socket
Info - Information about the addresses for a socket.
Traits§
- Socket
Writable Listener - A type capable of handling socket writable changes.