Crate async_prost

Source
Expand description

Async access to a prost-encoded item stream.

Highly inspired by async-bincode.

Structs§

AsyncDestination
A marker that indicates that the wrapping type is compatible with AsyncProstReader with Prost support.
AsyncFrameDestination
a marker that indicates that the wrapper type is compatible with AsyncProstReader with Framed support.
AsyncProstReader
A wrapper around an async reader that produces an asynchronous stream of prost-decoded values
AsyncProstStream
A wrapper around an async stream that receives and sends prost-encoded values
AsyncProstWriter
A warpper around an async sink that accepts, serializes, and sends prost-encoded values.
Frame
Decoded frame from buffer
SyncDestination
A marker that indicates that the wrapping type is compatible with stock prost receivers.

Traits§

Framed
encode and decode for frame
ShallDecodeBody
indicate if we shall decode body or not