Crate blather[][src]

A library used to represent a line-based protocol largely based on key/value pairs.

A telegram, represented by the Telegram struct, is an entity that consists of a mandatory “topic” and zero or more key/value parameters.

A set of “parameters”, represented by the Params struct, is a set of key/value pairs.

blather handles transmission usign tokio-util’s Framed framework.

Re-exports

pub use codec::Codec;

Modules

codec

A tokio_util::codec Codec that is used to encode and decode the blather protocol.

Structs

KVLines

Ordered list of key/value pairs.

KeyValue

Representation of a key/value pair in KVLines.

Params

Key/value parameters storage with helper methods to make adding and getting common value types slightly more ergonomic and using a plain HashMap.

Telegram

Representation of a Telegram; a buffer which contains a topic and a set of key/value parameters.

Enums

Error