Module connection

Module connection 

Source
Expand description

This module contains a minimalist TCP Connection implementation, which only supports passive open scenarios, and some auxiliary logic and data structures.

Structs§

Connection
Contains the state information and implements the logic for a minimalist TCP connection.
RecvStatusFlags
Represents any unusual conditions which may occur when receiving a TCP segment.

Enums§

PassiveOpenError
Describes errors which may occur during a passive open.
RecvError
Describes errors which may occur when an existing connection receives a TCP segment.
WriteNextError
Describes errors which may occur when a connection attempts to write a segment. Needs rustfmt::skip to make multiline comments work

Type Aliases§

PayloadSource
Defines a segment payload source.