Expand description

Most types are used internally in encoding/decoding, and are not required by typical use cases for interacting with the protocol. However, types can be used for decoding partial messages, or rewriting parts of an encoded message.

Modules§

  • Utilities for working with the bytes crate.
  • Raw types of the Kafka protocol, as defined by the protocol specification.

Structs§

  • An error representing any fault while decoding a message, usually when the buffer is incorrectly sized or otherwise invalid for the decoded message. The Error type, a wrapper around a dynamic error type.
  • An error representing any fault while encoding a message, usually when a message in an invalid state is attempted to be encoded. The Error type, a wrapper around a dynamic error type.
  • A string type backed by Bytes.
  • The range of versions (min, max) allowed for agiven message.

Traits§