capnp-nonblock 0.3.0

A Cap'n Proto message serializer and deserializer that works with non-blocking streams.

Crate capnp_nonblock [] [src]

capnp_nonblock provides a helper struct, MessageStream, for reading and writing Cap'n Proto messages to non-blocking streams.

Structs

MessageStream

A MessageStream wraps a stream, and provides methods to read and write Cap'n Proto messages to the stream. MessageStream performs its own internal buffering, so the provided stream need not be buffered.

Segments

A Cap'n Proto message container.