Structs

A cheaply cloneable and sliceable chunk of contiguous memory.
A unique reference to a contiguous slice of memory.
Represents the final result of a HTTP request
Represents an IP address and its netmask
Represents a routing entry in the routing table of the interface
Holds the interface used to work with a pending HTTP request

Enums

Traits

Connected sockets have a persistent connection to a remote peer
Connectionless sockets are able to send and receive datagrams and stream bytes to multiple addresses at the same time (peer-to-peer)
ICMP sockets are low level devices bound to a specific address that can send and receive ICMP packets
An implementation of virtual networking
Interface used for sending and receiving data from a web socket

Functions

Type Definitions

Socket descriptors are also file descriptors and so all file operations can also be used on sockets