Crate kafka_serde[][src]

kafka_serde - serializers and deserializers for the kafka protocol

Details: Options are allowed during serialization, but not deserialization

variable sizes like varint, compact bytes, etc, are not supported yet. nullable_string and nullable_bytes are supported during deserialization (they will deserialize into standard string, str and byte-slices) but not yet during serialization.

Enums

ErrorKind

Errors that may happen when parsing a kafka payload (reader or writer)

Functions

from_bytes

Deserialize a kafka payload contained in a byte slice

to_writer

Serializes a kafka payload into a I/O stream

Type Definitions

Error

Error returned by Kafka serde

Result

Result alias where the Error component is a kafka_serde::Error