Module tcp

Module tcp 

Source

Enums§

Mode
Whether a socket should block when a read/write can’t be performed, or return early.
TcpError
Network errors
TcpImplError

Traits§

TcpStack
This trait is implemented by TCP/IP stacks. You could, for example, have an implementation which knows how to send AT commands to an ESP8266 WiFi module. You could have another implemenation which knows how to driver the Rust Standard Library’s std::net module. Given this trait, you can how write a portable HTTP client which can work with either implementation.