Skip to main content

Module socket

Module socket 

Source

Modules§

accept
addr
Native socket addresses.
gso
msg
option
raw
record
route

Structs§

Connect
Exact synchronous connect failure.
Create
Exact failure to create and initialize one socket descriptor.
How
One half-close direction for Socket::shutdown.
Setup
Exact socket descriptor setup failure.
Type
One observed SO_TYPE value of an adopted descriptor.

Enums§

Domain
Failure
Exact failure while opening a close-on-exec socket.
Kind
Origin
Concrete leaf retained by one compact creation failure.
Reuse
One requested address reuse admitted before binding.
SetupOrigin
Concrete leaf retained by one compact setup failure.

Constants§

BACKLOG
Exact backlog bound the host admits for one listening socket.

Traits§

Prepare
Native socket ownership and fast-open support before driver installation.
Socket
Native socket creation and asynchronous tuning capability.