Skip to main content

Module transport

Module transport 

Source
Expand description

Transport layer abstraction.

This module provides a Transport trait that abstracts over raw TCP and TLS-encrypted connections, allowing protocol implementations to work with either.

Structs§

PlainTransport
Plain TCP transport without encryption.
TlsConfig
TLS configuration for client connections.
TlsTransport
TLS transport using rustls.

Enums§

ProcessResult
Result of processing incoming data.
TransportState
Transport state.

Traits§

Transport
Abstraction over raw TCP and TLS transports.