Docs.rs
  • kafka-api-0.1.0
    • kafka-api 0.1.0
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • tisonkun
    • Dependencies
      • bytes ^1.4.0 normal
      • uuid ^1.3.4 normal
    • Versions
    • 0% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Encodable

Required Methods

  • encode

Implementors

In kafka_api

?
Change settings

Trait kafka_api::Encodable

source ·
pub trait Encodable: Sized {
    // Required method
    fn encode<B: BufMut>(&self, buf: &mut B, version: i16) -> Result<()>;
}

Required Methods§

source

fn encode<B: BufMut>(&self, buf: &mut B, version: i16) -> Result<()>

Implementors§

source§

impl Encodable for ApiVersion

source§

impl Encodable for ApiVersionsResponse

source§

impl Encodable for FinalizedFeatureKey

source§

impl Encodable for SupportedFeatureKey

source§

impl Encodable for CreatableTopicConfigs

source§

impl Encodable for CreatableTopicResult

source§

impl Encodable for CreateTopicsResponse

source§

impl Encodable for InitProducerIdResponse

source§

impl Encodable for MetadataResponse

source§

impl Encodable for MetadataResponseBroker

source§

impl Encodable for MetadataResponsePartition

source§

impl Encodable for MetadataResponseTopic

source§

impl Encodable for ResponseHeader