Module net

Source
Expand description

Network abstractions for dependency injection.

This module provides traits and types that allow our networking components to work with both real networking (tokio::net) and simulated networking (turmoil::net) through dependency injection.

Structs§

RealTcpConnector
Production TCP connector using tokio::net.

Traits§

TcpConnector
Trait for network types that can establish TCP connections.