Expand description
Transport abstraction — bidirectional message transport.
The Transport trait defines a pluggable transport layer for sending and
receiving raw bytes. The default implementation TungsteniteTransport wraps
tokio-tungstenite for WebSocket connectivity. MockTransport enables
deterministic unit testing without a network.
Structs§
- Mock
Transport - Mock transport for unit testing.
- Tungstenite
Transport - WebSocket transport using
tokio-tungstenite.
Enums§
- Mock
Transport Error - Errors from the
MockTransport. - Tungstenite
Error - Errors from the
TungsteniteTransport.
Traits§
- Transport
- A bidirectional message transport.