Module greetd_ipc::codec[][src]

Expand description

Reader/writer codecs for Request/Response.

This is implemented in the form of two traits, SyncCodec and TokioCodec, which operate on the std and tokio implementations of reader/writer traits. The former is intended as the name suggests for synchronous operation, while the latter is for asynchronous operation when using tokio.

These codecs are hidden behind the sync-codec and tokio-codec features, respectively. These features also implicitly enable the codec feature, which controls the entire codec module.

Enums

Traits

Reader/writer implementation over std::io::{Read,Write}.

Reader/writer implementation over tokio::io::{AsyncReadExt, AsyncWriteExt}.