Trait WriteVersionedType

Source
pub trait WriteVersionedType<W>: Sized
where W: Write,
{ // Required method fn write_versioned( &self, writer: &mut W, version: ApiVersion, ) -> Result<(), WriteVersionedError>; }

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<W: Write, T: WriteVersionedType<W>> WriteVersionedType<W> for &T

Implementors§

Source§

impl<W> WriteVersionedType<W> for ApiVersionsRequest
where W: Write,

Source§

impl<W> WriteVersionedType<W> for ApiVersionsResponse
where W: Write,

Source§

impl<W> WriteVersionedType<W> for ApiVersionsResponseApiKey
where W: Write,

Source§

impl<W> WriteVersionedType<W> for CreateTopicAssignment
where W: Write,

Source§

impl<W> WriteVersionedType<W> for CreateTopicConfig
where W: Write,

Source§

impl<W> WriteVersionedType<W> for CreateTopicRequest
where W: Write,

Source§

impl<W> WriteVersionedType<W> for CreateTopicsRequest
where W: Write,

Source§

impl<W> WriteVersionedType<W> for DeleteRecordsRequest
where W: Write,

Source§

impl<W> WriteVersionedType<W> for DeleteRequestPartition
where W: Write,

Source§

impl<W> WriteVersionedType<W> for DeleteRequestTopic
where W: Write,

Source§

impl<W> WriteVersionedType<W> for DeleteTopicsRequest
where W: Write,

Source§

impl<W> WriteVersionedType<W> for FetchRequest
where W: Write,

Source§

impl<W> WriteVersionedType<W> for FetchRequestPartition
where W: Write,

Source§

impl<W> WriteVersionedType<W> for FetchRequestTopic
where W: Write,

Source§

impl<W> WriteVersionedType<W> for ListOffsetsRequest
where W: Write,

Source§

impl<W> WriteVersionedType<W> for ListOffsetsRequestPartition
where W: Write,

Source§

impl<W> WriteVersionedType<W> for ListOffsetsRequestTopic
where W: Write,

Source§

impl<W> WriteVersionedType<W> for MetadataRequest
where W: Write,

Source§

impl<W> WriteVersionedType<W> for MetadataRequestTopic
where W: Write,

Source§

impl<W> WriteVersionedType<W> for ProduceRequest
where W: Write,

Source§

impl<W> WriteVersionedType<W> for ProduceRequestPartitionData
where W: Write,

Source§

impl<W> WriteVersionedType<W> for ProduceRequestTopicData
where W: Write,

Source§

impl<W> WriteVersionedType<W> for RequestHeader
where W: Write,

Source§

impl<W> WriteVersionedType<W> for ResponseHeader
where W: Write,

Source§

impl<W> WriteVersionedType<W> for SaslAuthenticateRequest
where W: Write,

Source§

impl<W> WriteVersionedType<W> for SaslAuthenticateResponse
where W: Write,

Source§

impl<W> WriteVersionedType<W> for SaslHandshakeRequest
where W: Write,

Source§

impl<W> WriteVersionedType<W> for SaslHandshakeResponse
where W: Write,