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§
- buf
- Utilities for working with the
bytes
crate. - types
- Raw types of the Kafka protocol, as defined by the protocol specification.
Structs§
- StrBytes
- A string type backed by Bytes.
- Version
Range - The range of versions (min, max) allowed for agiven message.
Traits§
- Decodable
- A decodable message.
- Encodable
- An encodable message.
- Header
Version - Every message has a set of versions valid for a given header version.
- Message
- An API request or response.
- Request
- An API request.