Available on crate feature
serde-transport
only.Expand description
A generic Serde-based Transport
that can serialize anything supported by tokio-serde
via any medium that implements AsyncRead
and AsyncWrite
.
Modules§
- tcp
tcp
- TCP support for generic transport using Tokio.
- unix
Unix and unix
- Unix Domain Socket support for generic transport using Tokio.
Structs§
- Transport
- A transport that serializes to, and deserializes from, a byte stream.
Functions§
- new
- Constructs a new transport from a framed transport and a serialization codec.