Trait Encodable

Source
pub trait Encodable: Sized {
    // Required methods
    fn encode<B: ByteBufMut>(&self, buf: &mut B, version: i16) -> Result<()>;
    fn compute_size(&self, version: i16) -> Result<usize>;
}
Expand description

An encodable message.

Required Methods§

Source

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

Encode the message into the target buffer.

Source

fn compute_size(&self, version: i16) -> Result<usize>

Compute the total size of the message when encoded.

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.

Implementors§

Source§

impl Encodable for AddOffsetsToTxnRequest

Available on crate feature client only.
Source§

impl Encodable for AddOffsetsToTxnResponse

Available on crate feature broker only.
Source§

impl Encodable for AddPartitionsToTxnRequest

Available on crate feature client only.
Source§

impl Encodable for AddPartitionsToTxnTopic

Available on crate feature client only.
Source§

impl Encodable for AddPartitionsToTxnTransaction

Available on crate feature client only.
Source§

impl Encodable for AddPartitionsToTxnPartitionResult

Available on crate feature broker only.
Source§

impl Encodable for AddPartitionsToTxnResponse

Available on crate feature broker only.
Source§

impl Encodable for AddPartitionsToTxnResult

Available on crate feature broker only.
Source§

impl Encodable for AddPartitionsToTxnTopicResult

Available on crate feature broker only.
Source§

impl Encodable for AddRaftVoterRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::add_raft_voter_request::Listener

Available on crate feature client only.
Source§

impl Encodable for AddRaftVoterResponse

Available on crate feature broker only.
Source§

impl Encodable for AllocateProducerIdsRequest

Available on crate feature client only.
Source§

impl Encodable for AllocateProducerIdsResponse

Available on crate feature broker only.
Source§

impl Encodable for AlterClientQuotasRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::alter_client_quotas_request::EntityData

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::alter_client_quotas_request::EntryData

Available on crate feature client only.
Source§

impl Encodable for OpData

Available on crate feature client only.
Source§

impl Encodable for AlterClientQuotasResponse

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::alter_client_quotas_response::EntityData

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::alter_client_quotas_response::EntryData

Available on crate feature broker only.
Source§

impl Encodable for AlterConfigsRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::alter_configs_request::AlterConfigsResource

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::alter_configs_request::AlterableConfig

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::alter_configs_response::AlterConfigsResourceResponse

Available on crate feature broker only.
Source§

impl Encodable for AlterConfigsResponse

Available on crate feature broker only.
Source§

impl Encodable for AlterPartitionReassignmentsRequest

Available on crate feature client only.
Source§

impl Encodable for ReassignablePartition

Available on crate feature client only.
Source§

impl Encodable for ReassignableTopic

Available on crate feature client only.
Source§

impl Encodable for AlterPartitionReassignmentsResponse

Available on crate feature broker only.
Source§

impl Encodable for ReassignablePartitionResponse

Available on crate feature broker only.
Source§

impl Encodable for ReassignableTopicResponse

Available on crate feature broker only.
Source§

impl Encodable for AlterPartitionRequest

Available on crate feature client only.
Source§

impl Encodable for BrokerState

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::alter_partition_request::PartitionData

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::alter_partition_request::TopicData

Available on crate feature client only.
Source§

impl Encodable for AlterPartitionResponse

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::alter_partition_response::PartitionData

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::alter_partition_response::TopicData

Available on crate feature broker only.
Source§

impl Encodable for AlterReplicaLogDir

Available on crate feature client only.
Source§

impl Encodable for AlterReplicaLogDirTopic

Available on crate feature client only.
Source§

impl Encodable for AlterReplicaLogDirsRequest

Available on crate feature client only.
Source§

impl Encodable for AlterReplicaLogDirPartitionResult

Available on crate feature broker only.
Source§

impl Encodable for AlterReplicaLogDirTopicResult

Available on crate feature broker only.
Source§

impl Encodable for AlterReplicaLogDirsResponse

Available on crate feature broker only.
Source§

impl Encodable for AlterUserScramCredentialsRequest

Available on crate feature client only.
Source§

impl Encodable for ScramCredentialDeletion

Available on crate feature client only.
Source§

impl Encodable for ScramCredentialUpsertion

Available on crate feature client only.
Source§

impl Encodable for AlterUserScramCredentialsResponse

Available on crate feature broker only.
Source§

impl Encodable for AlterUserScramCredentialsResult

Available on crate feature broker only.
Source§

impl Encodable for ApiVersionsRequest

Available on crate feature client only.
Source§

impl Encodable for ApiVersion

Available on crate feature broker only.
Source§

impl Encodable for ApiVersionsResponse

Available on crate feature broker only.
Source§

impl Encodable for FinalizedFeatureKey

Available on crate feature broker only.
Source§

impl Encodable for SupportedFeatureKey

Available on crate feature broker only.
Source§

impl Encodable for AssignReplicasToDirsRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::assign_replicas_to_dirs_request::DirectoryData

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::assign_replicas_to_dirs_request::PartitionData

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::assign_replicas_to_dirs_request::TopicData

Available on crate feature client only.
Source§

impl Encodable for AssignReplicasToDirsResponse

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::assign_replicas_to_dirs_response::DirectoryData

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::assign_replicas_to_dirs_response::PartitionData

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::assign_replicas_to_dirs_response::TopicData

Available on crate feature broker only.
Source§

impl Encodable for BeginQuorumEpochRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::begin_quorum_epoch_request::LeaderEndpoint

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::begin_quorum_epoch_request::PartitionData

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::begin_quorum_epoch_request::TopicData

Available on crate feature client only.
Source§

impl Encodable for BeginQuorumEpochResponse

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::begin_quorum_epoch_response::NodeEndpoint

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::begin_quorum_epoch_response::PartitionData

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::begin_quorum_epoch_response::TopicData

Available on crate feature broker only.
Source§

impl Encodable for BrokerHeartbeatRequest

Available on crate feature client only.
Source§

impl Encodable for BrokerHeartbeatResponse

Available on crate feature broker only.
Source§

impl Encodable for BrokerRegistrationRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::broker_registration_request::Feature

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::broker_registration_request::Listener

Available on crate feature client only.
Source§

impl Encodable for BrokerRegistrationResponse

Available on crate feature broker only.
Source§

impl Encodable for ConsumerGroupDescribeRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::consumer_group_describe_response::Assignment

Available on crate feature broker only.
Source§

impl Encodable for ConsumerGroupDescribeResponse

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::consumer_group_describe_response::DescribedGroup

Available on crate feature broker only.
Source§

impl Encodable for Member

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::consumer_group_describe_response::TopicPartitions

Available on crate feature broker only.
Source§

impl Encodable for ConsumerGroupHeartbeatRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::consumer_group_heartbeat_request::TopicPartitions

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::consumer_group_heartbeat_response::Assignment

Available on crate feature broker only.
Source§

impl Encodable for ConsumerGroupHeartbeatResponse

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::consumer_group_heartbeat_response::TopicPartitions

Available on crate feature broker only.
Source§

impl Encodable for ConsumerProtocolAssignment

Source§

impl Encodable for kafka_protocol::messages::consumer_protocol_assignment::TopicPartition

Source§

impl Encodable for ConsumerProtocolSubscription

Source§

impl Encodable for kafka_protocol::messages::consumer_protocol_subscription::TopicPartition

Source§

impl Encodable for ControlledShutdownRequest

Available on crate feature client only.
Source§

impl Encodable for ControlledShutdownResponse

Available on crate feature broker only.
Source§

impl Encodable for RemainingPartition

Available on crate feature broker only.
Source§

impl Encodable for ControllerRegistrationRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::controller_registration_request::Feature

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::controller_registration_request::Listener

Available on crate feature client only.
Source§

impl Encodable for ControllerRegistrationResponse

Available on crate feature broker only.
Source§

impl Encodable for AclCreation

Available on crate feature client only.
Source§

impl Encodable for CreateAclsRequest

Available on crate feature client only.
Source§

impl Encodable for AclCreationResult

Available on crate feature broker only.
Source§

impl Encodable for CreateAclsResponse

Available on crate feature broker only.
Source§

impl Encodable for CreatableRenewers

Available on crate feature client only.
Source§

impl Encodable for CreateDelegationTokenRequest

Available on crate feature client only.
Source§

impl Encodable for CreateDelegationTokenResponse

Available on crate feature broker only.
Source§

impl Encodable for CreatePartitionsAssignment

Available on crate feature client only.
Source§

impl Encodable for CreatePartitionsRequest

Available on crate feature client only.
Source§

impl Encodable for CreatePartitionsTopic

Available on crate feature client only.
Source§

impl Encodable for CreatePartitionsResponse

Available on crate feature broker only.
Source§

impl Encodable for CreatePartitionsTopicResult

Available on crate feature broker only.
Source§

impl Encodable for CreatableReplicaAssignment

Available on crate feature client only.
Source§

impl Encodable for CreatableTopic

Available on crate feature client only.
Source§

impl Encodable for CreatableTopicConfig

Available on crate feature client only.
Source§

impl Encodable for CreateTopicsRequest

Available on crate feature client only.
Source§

impl Encodable for CreatableTopicConfigs

Available on crate feature broker only.
Source§

impl Encodable for CreatableTopicResult

Available on crate feature broker only.
Source§

impl Encodable for CreateTopicsResponse

Available on crate feature broker only.
Source§

impl Encodable for DefaultPrincipalData

Source§

impl Encodable for DeleteAclsFilter

Available on crate feature client only.
Source§

impl Encodable for DeleteAclsRequest

Available on crate feature client only.
Source§

impl Encodable for DeleteAclsFilterResult

Available on crate feature broker only.
Source§

impl Encodable for DeleteAclsMatchingAcl

Available on crate feature broker only.
Source§

impl Encodable for DeleteAclsResponse

Available on crate feature broker only.
Source§

impl Encodable for DeleteGroupsRequest

Available on crate feature client only.
Source§

impl Encodable for DeletableGroupResult

Available on crate feature broker only.
Source§

impl Encodable for DeleteGroupsResponse

Available on crate feature broker only.
Source§

impl Encodable for DeleteRecordsPartition

Available on crate feature client only.
Source§

impl Encodable for DeleteRecordsRequest

Available on crate feature client only.
Source§

impl Encodable for DeleteRecordsTopic

Available on crate feature client only.
Source§

impl Encodable for DeleteRecordsPartitionResult

Available on crate feature broker only.
Source§

impl Encodable for DeleteRecordsResponse

Available on crate feature broker only.
Source§

impl Encodable for DeleteRecordsTopicResult

Available on crate feature broker only.
Source§

impl Encodable for DeleteTopicState

Available on crate feature client only.
Source§

impl Encodable for DeleteTopicsRequest

Available on crate feature client only.
Source§

impl Encodable for DeletableTopicResult

Available on crate feature broker only.
Source§

impl Encodable for DeleteTopicsResponse

Available on crate feature broker only.
Source§

impl Encodable for DescribeAclsRequest

Available on crate feature client only.
Source§

impl Encodable for AclDescription

Available on crate feature broker only.
Source§

impl Encodable for DescribeAclsResource

Available on crate feature broker only.
Source§

impl Encodable for DescribeAclsResponse

Available on crate feature broker only.
Source§

impl Encodable for ComponentData

Available on crate feature client only.
Source§

impl Encodable for DescribeClientQuotasRequest

Available on crate feature client only.
Source§

impl Encodable for DescribeClientQuotasResponse

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::describe_client_quotas_response::EntityData

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::describe_client_quotas_response::EntryData

Available on crate feature broker only.
Source§

impl Encodable for ValueData

Available on crate feature broker only.
Source§

impl Encodable for DescribeClusterRequest

Available on crate feature client only.
Source§

impl Encodable for DescribeClusterBroker

Available on crate feature broker only.
Source§

impl Encodable for DescribeClusterResponse

Available on crate feature broker only.
Source§

impl Encodable for DescribeConfigsRequest

Available on crate feature client only.
Source§

impl Encodable for DescribeConfigsResource

Available on crate feature client only.
Source§

impl Encodable for DescribeConfigsResourceResult

Available on crate feature broker only.
Source§

impl Encodable for DescribeConfigsResponse

Available on crate feature broker only.
Source§

impl Encodable for DescribeConfigsResult

Available on crate feature broker only.
Source§

impl Encodable for DescribeConfigsSynonym

Available on crate feature broker only.
Source§

impl Encodable for DescribeDelegationTokenOwner

Available on crate feature client only.
Source§

impl Encodable for DescribeDelegationTokenRequest

Available on crate feature client only.
Source§

impl Encodable for DescribeDelegationTokenResponse

Available on crate feature broker only.
Source§

impl Encodable for DescribedDelegationToken

Available on crate feature broker only.
Source§

impl Encodable for DescribedDelegationTokenRenewer

Available on crate feature broker only.
Source§

impl Encodable for DescribeGroupsRequest

Available on crate feature client only.
Source§

impl Encodable for DescribeGroupsResponse

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::describe_groups_response::DescribedGroup

Available on crate feature broker only.
Source§

impl Encodable for DescribedGroupMember

Available on crate feature broker only.
Source§

impl Encodable for DescribableLogDirTopic

Available on crate feature client only.
Source§

impl Encodable for DescribeLogDirsRequest

Available on crate feature client only.
Source§

impl Encodable for DescribeLogDirsPartition

Available on crate feature broker only.
Source§

impl Encodable for DescribeLogDirsResponse

Available on crate feature broker only.
Source§

impl Encodable for DescribeLogDirsResult

Available on crate feature broker only.
Source§

impl Encodable for DescribeLogDirsTopic

Available on crate feature broker only.
Source§

impl Encodable for DescribeProducersRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::describe_producers_request::TopicRequest

Available on crate feature client only.
Source§

impl Encodable for DescribeProducersResponse

Available on crate feature broker only.
Source§

impl Encodable for PartitionResponse

Available on crate feature broker only.
Source§

impl Encodable for ProducerState

Available on crate feature broker only.
Source§

impl Encodable for TopicResponse

Available on crate feature broker only.
Source§

impl Encodable for DescribeQuorumRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::describe_quorum_request::PartitionData

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::describe_quorum_request::TopicData

Available on crate feature client only.
Source§

impl Encodable for DescribeQuorumResponse

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::describe_quorum_response::Listener

Available on crate feature broker only.
Source§

impl Encodable for Node

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::describe_quorum_response::PartitionData

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::describe_quorum_response::ReplicaState

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::describe_quorum_response::TopicData

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::describe_topic_partitions_request::Cursor

Available on crate feature client only.
Source§

impl Encodable for DescribeTopicPartitionsRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::describe_topic_partitions_request::TopicRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::describe_topic_partitions_response::Cursor

Available on crate feature broker only.
Source§

impl Encodable for DescribeTopicPartitionsResponse

Available on crate feature broker only.
Source§

impl Encodable for DescribeTopicPartitionsResponsePartition

Available on crate feature broker only.
Source§

impl Encodable for DescribeTopicPartitionsResponseTopic

Available on crate feature broker only.
Source§

impl Encodable for DescribeTransactionsRequest

Available on crate feature client only.
Source§

impl Encodable for DescribeTransactionsResponse

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::describe_transactions_response::TopicData

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::describe_transactions_response::TransactionState

Available on crate feature broker only.
Source§

impl Encodable for DescribeUserScramCredentialsRequest

Available on crate feature client only.
Source§

impl Encodable for UserName

Available on crate feature client only.
Source§

impl Encodable for CredentialInfo

Available on crate feature broker only.
Source§

impl Encodable for DescribeUserScramCredentialsResponse

Available on crate feature broker only.
Source§

impl Encodable for DescribeUserScramCredentialsResult

Available on crate feature broker only.
Source§

impl Encodable for ElectLeadersRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::elect_leaders_request::TopicPartitions

Available on crate feature client only.
Source§

impl Encodable for ElectLeadersResponse

Available on crate feature broker only.
Source§

impl Encodable for PartitionResult

Available on crate feature broker only.
Source§

impl Encodable for ReplicaElectionResult

Available on crate feature broker only.
Source§

impl Encodable for EndQuorumEpochRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::end_quorum_epoch_request::LeaderEndpoint

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::end_quorum_epoch_request::PartitionData

Available on crate feature client only.
Source§

impl Encodable for ReplicaInfo

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::end_quorum_epoch_request::TopicData

Available on crate feature client only.
Source§

impl Encodable for EndQuorumEpochResponse

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::end_quorum_epoch_response::NodeEndpoint

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::end_quorum_epoch_response::PartitionData

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::end_quorum_epoch_response::TopicData

Available on crate feature broker only.
Source§

impl Encodable for EndTxnRequest

Available on crate feature client only.
Source§

impl Encodable for EndTxnResponse

Available on crate feature broker only.
Source§

impl Encodable for EnvelopeRequest

Available on crate feature client only.
Source§

impl Encodable for EnvelopeResponse

Available on crate feature broker only.
Source§

impl Encodable for ExpireDelegationTokenRequest

Available on crate feature client only.
Source§

impl Encodable for ExpireDelegationTokenResponse

Available on crate feature broker only.
Source§

impl Encodable for FetchPartition

Available on crate feature client only.
Source§

impl Encodable for FetchRequest

Available on crate feature client only.
Source§

impl Encodable for FetchTopic

Available on crate feature client only.
Source§

impl Encodable for ForgottenTopic

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::fetch_request::ReplicaState

Available on crate feature client only.
Source§

impl Encodable for AbortedTransaction

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::fetch_response::EpochEndOffset

Available on crate feature broker only.
Source§

impl Encodable for FetchResponse

Available on crate feature broker only.
Source§

impl Encodable for FetchableTopicResponse

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::fetch_response::LeaderIdAndEpoch

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::fetch_response::NodeEndpoint

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::fetch_response::PartitionData

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::fetch_response::SnapshotId

Available on crate feature broker only.
Source§

impl Encodable for FetchSnapshotRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::fetch_snapshot_request::PartitionSnapshot

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::fetch_snapshot_request::SnapshotId

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::fetch_snapshot_request::TopicSnapshot

Available on crate feature client only.
Source§

impl Encodable for FetchSnapshotResponse

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::fetch_snapshot_response::LeaderIdAndEpoch

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::fetch_snapshot_response::NodeEndpoint

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::fetch_snapshot_response::PartitionSnapshot

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::fetch_snapshot_response::SnapshotId

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::fetch_snapshot_response::TopicSnapshot

Available on crate feature broker only.
Source§

impl Encodable for FindCoordinatorRequest

Available on crate feature client only.
Source§

impl Encodable for Coordinator

Available on crate feature broker only.
Source§

impl Encodable for FindCoordinatorResponse

Available on crate feature broker only.
Source§

impl Encodable for GetTelemetrySubscriptionsRequest

Available on crate feature client only.
Source§

impl Encodable for GetTelemetrySubscriptionsResponse

Available on crate feature broker only.
Source§

impl Encodable for HeartbeatRequest

Available on crate feature client only.
Source§

impl Encodable for HeartbeatResponse

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::incremental_alter_configs_request::AlterConfigsResource

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::incremental_alter_configs_request::AlterableConfig

Available on crate feature client only.
Source§

impl Encodable for IncrementalAlterConfigsRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::incremental_alter_configs_response::AlterConfigsResourceResponse

Available on crate feature broker only.
Source§

impl Encodable for IncrementalAlterConfigsResponse

Available on crate feature broker only.
Source§

impl Encodable for InitProducerIdRequest

Available on crate feature client only.
Source§

impl Encodable for InitProducerIdResponse

Available on crate feature broker only.
Source§

impl Encodable for JoinGroupRequest

Available on crate feature client only.
Source§

impl Encodable for JoinGroupRequestProtocol

Available on crate feature client only.
Source§

impl Encodable for JoinGroupResponse

Available on crate feature broker only.
Source§

impl Encodable for JoinGroupResponseMember

Available on crate feature broker only.
Source§

impl Encodable for KRaftVersionRecord

Source§

impl Encodable for LeaderAndIsrLiveLeader

Available on crate feature client only.
Source§

impl Encodable for LeaderAndIsrPartitionState

Available on crate feature client only.
Source§

impl Encodable for LeaderAndIsrRequest

Available on crate feature client only.
Source§

impl Encodable for LeaderAndIsrTopicState

Available on crate feature client only.
Source§

impl Encodable for LeaderAndIsrPartitionError

Available on crate feature broker only.
Source§

impl Encodable for LeaderAndIsrResponse

Available on crate feature broker only.
Source§

impl Encodable for LeaderAndIsrTopicError

Available on crate feature broker only.
Source§

impl Encodable for LeaderChangeMessage

Source§

impl Encodable for kafka_protocol::messages::leader_change_message::Voter

Source§

impl Encodable for LeaveGroupRequest

Available on crate feature client only.
Source§

impl Encodable for MemberIdentity

Available on crate feature client only.
Source§

impl Encodable for LeaveGroupResponse

Available on crate feature broker only.
Source§

impl Encodable for MemberResponse

Available on crate feature broker only.
Source§

impl Encodable for ListClientMetricsResourcesRequest

Available on crate feature client only.
Source§

impl Encodable for ClientMetricsResource

Available on crate feature broker only.
Source§

impl Encodable for ListClientMetricsResourcesResponse

Available on crate feature broker only.
Source§

impl Encodable for ListGroupsRequest

Available on crate feature client only.
Source§

impl Encodable for ListGroupsResponse

Available on crate feature broker only.
Source§

impl Encodable for ListedGroup

Available on crate feature broker only.
Source§

impl Encodable for ListOffsetsPartition

Available on crate feature client only.
Source§

impl Encodable for ListOffsetsRequest

Available on crate feature client only.
Source§

impl Encodable for ListOffsetsTopic

Available on crate feature client only.
Source§

impl Encodable for ListOffsetsPartitionResponse

Available on crate feature broker only.
Source§

impl Encodable for ListOffsetsResponse

Available on crate feature broker only.
Source§

impl Encodable for ListOffsetsTopicResponse

Available on crate feature broker only.
Source§

impl Encodable for ListPartitionReassignmentsRequest

Available on crate feature client only.
Source§

impl Encodable for ListPartitionReassignmentsTopics

Available on crate feature client only.
Source§

impl Encodable for ListPartitionReassignmentsResponse

Available on crate feature broker only.
Source§

impl Encodable for OngoingPartitionReassignment

Available on crate feature broker only.
Source§

impl Encodable for OngoingTopicReassignment

Available on crate feature broker only.
Source§

impl Encodable for ListTransactionsRequest

Available on crate feature client only.
Source§

impl Encodable for ListTransactionsResponse

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::list_transactions_response::TransactionState

Available on crate feature broker only.
Source§

impl Encodable for MetadataRequest

Available on crate feature client only.
Source§

impl Encodable for MetadataRequestTopic

Available on crate feature client only.
Source§

impl Encodable for MetadataResponse

Available on crate feature broker only.
Source§

impl Encodable for MetadataResponseBroker

Available on crate feature broker only.
Source§

impl Encodable for MetadataResponsePartition

Available on crate feature broker only.
Source§

impl Encodable for MetadataResponseTopic

Available on crate feature broker only.
Source§

impl Encodable for OffsetCommitRequest

Available on crate feature client only.
Source§

impl Encodable for OffsetCommitRequestPartition

Available on crate feature client only.
Source§

impl Encodable for OffsetCommitRequestTopic

Available on crate feature client only.
Source§

impl Encodable for OffsetCommitResponse

Available on crate feature broker only.
Source§

impl Encodable for OffsetCommitResponsePartition

Available on crate feature broker only.
Source§

impl Encodable for OffsetCommitResponseTopic

Available on crate feature broker only.
Source§

impl Encodable for OffsetDeleteRequest

Available on crate feature client only.
Source§

impl Encodable for OffsetDeleteRequestPartition

Available on crate feature client only.
Source§

impl Encodable for OffsetDeleteRequestTopic

Available on crate feature client only.
Source§

impl Encodable for OffsetDeleteResponse

Available on crate feature broker only.
Source§

impl Encodable for OffsetDeleteResponsePartition

Available on crate feature broker only.
Source§

impl Encodable for OffsetDeleteResponseTopic

Available on crate feature broker only.
Source§

impl Encodable for OffsetFetchRequest

Available on crate feature client only.
Source§

impl Encodable for OffsetFetchRequestGroup

Available on crate feature client only.
Source§

impl Encodable for OffsetFetchRequestTopic

Available on crate feature client only.
Source§

impl Encodable for OffsetFetchRequestTopics

Available on crate feature client only.
Source§

impl Encodable for OffsetFetchResponse

Available on crate feature broker only.
Source§

impl Encodable for OffsetFetchResponseGroup

Available on crate feature broker only.
Source§

impl Encodable for OffsetFetchResponsePartition

Available on crate feature broker only.
Source§

impl Encodable for OffsetFetchResponsePartitions

Available on crate feature broker only.
Source§

impl Encodable for OffsetFetchResponseTopic

Available on crate feature broker only.
Source§

impl Encodable for OffsetFetchResponseTopics

Available on crate feature broker only.
Source§

impl Encodable for OffsetForLeaderEpochRequest

Available on crate feature client only.
Source§

impl Encodable for OffsetForLeaderPartition

Available on crate feature client only.
Source§

impl Encodable for OffsetForLeaderTopic

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::offset_for_leader_epoch_response::EpochEndOffset

Available on crate feature broker only.
Source§

impl Encodable for OffsetForLeaderEpochResponse

Available on crate feature broker only.
Source§

impl Encodable for OffsetForLeaderTopicResult

Available on crate feature broker only.
Source§

impl Encodable for PartitionProduceData

Available on crate feature client only.
Source§

impl Encodable for ProduceRequest

Available on crate feature client only.
Source§

impl Encodable for TopicProduceData

Available on crate feature client only.
Source§

impl Encodable for BatchIndexAndErrorMessage

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::produce_response::LeaderIdAndEpoch

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::produce_response::NodeEndpoint

Available on crate feature broker only.
Source§

impl Encodable for PartitionProduceResponse

Available on crate feature broker only.
Source§

impl Encodable for ProduceResponse

Available on crate feature broker only.
Source§

impl Encodable for TopicProduceResponse

Available on crate feature broker only.
Source§

impl Encodable for PushTelemetryRequest

Available on crate feature client only.
Source§

impl Encodable for PushTelemetryResponse

Available on crate feature broker only.
Source§

impl Encodable for RemoveRaftVoterRequest

Available on crate feature client only.
Source§

impl Encodable for RemoveRaftVoterResponse

Available on crate feature broker only.
Source§

impl Encodable for RenewDelegationTokenRequest

Available on crate feature client only.
Source§

impl Encodable for RenewDelegationTokenResponse

Available on crate feature broker only.
Source§

impl Encodable for RequestHeader

Source§

impl Encodable for ResponseHeader

Source§

impl Encodable for SaslAuthenticateRequest

Available on crate feature client only.
Source§

impl Encodable for SaslAuthenticateResponse

Available on crate feature broker only.
Source§

impl Encodable for SaslHandshakeRequest

Available on crate feature client only.
Source§

impl Encodable for SaslHandshakeResponse

Available on crate feature broker only.
Source§

impl Encodable for SnapshotFooterRecord

Source§

impl Encodable for SnapshotHeaderRecord

Source§

impl Encodable for StopReplicaPartitionState

Available on crate feature client only.
Source§

impl Encodable for StopReplicaPartitionV0

Available on crate feature client only.
Source§

impl Encodable for StopReplicaRequest

Available on crate feature client only.
Source§

impl Encodable for StopReplicaTopicState

Available on crate feature client only.
Source§

impl Encodable for StopReplicaTopicV1

Available on crate feature client only.
Source§

impl Encodable for StopReplicaPartitionError

Available on crate feature broker only.
Source§

impl Encodable for StopReplicaResponse

Available on crate feature broker only.
Source§

impl Encodable for SyncGroupRequest

Available on crate feature client only.
Source§

impl Encodable for SyncGroupRequestAssignment

Available on crate feature client only.
Source§

impl Encodable for SyncGroupResponse

Available on crate feature broker only.
Source§

impl Encodable for TxnOffsetCommitRequest

Available on crate feature client only.
Source§

impl Encodable for TxnOffsetCommitRequestPartition

Available on crate feature client only.
Source§

impl Encodable for TxnOffsetCommitRequestTopic

Available on crate feature client only.
Source§

impl Encodable for TxnOffsetCommitResponse

Available on crate feature broker only.
Source§

impl Encodable for TxnOffsetCommitResponsePartition

Available on crate feature broker only.
Source§

impl Encodable for TxnOffsetCommitResponseTopic

Available on crate feature broker only.
Source§

impl Encodable for UnregisterBrokerRequest

Available on crate feature client only.
Source§

impl Encodable for UnregisterBrokerResponse

Available on crate feature broker only.
Source§

impl Encodable for FeatureUpdateKey

Available on crate feature client only.
Source§

impl Encodable for UpdateFeaturesRequest

Available on crate feature client only.
Source§

impl Encodable for UpdatableFeatureResult

Available on crate feature broker only.
Source§

impl Encodable for UpdateFeaturesResponse

Available on crate feature broker only.
Source§

impl Encodable for UpdateMetadataBroker

Available on crate feature client only.
Source§

impl Encodable for UpdateMetadataEndpoint

Available on crate feature client only.
Source§

impl Encodable for UpdateMetadataPartitionState

Available on crate feature client only.
Source§

impl Encodable for UpdateMetadataRequest

Available on crate feature client only.
Source§

impl Encodable for UpdateMetadataTopicState

Available on crate feature client only.
Source§

impl Encodable for UpdateMetadataResponse

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::update_raft_voter_request::KRaftVersionFeature

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::update_raft_voter_request::Listener

Available on crate feature client only.
Source§

impl Encodable for UpdateRaftVoterRequest

Available on crate feature client only.
Source§

impl Encodable for CurrentLeader

Available on crate feature broker only.
Source§

impl Encodable for UpdateRaftVoterResponse

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::vote_request::PartitionData

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::vote_request::TopicData

Available on crate feature client only.
Source§

impl Encodable for VoteRequest

Available on crate feature client only.
Source§

impl Encodable for kafka_protocol::messages::vote_response::NodeEndpoint

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::vote_response::PartitionData

Available on crate feature broker only.
Source§

impl Encodable for kafka_protocol::messages::vote_response::TopicData

Available on crate feature broker only.
Source§

impl Encodable for VoteResponse

Available on crate feature broker only.
Source§

impl Encodable for Endpoint

Source§

impl Encodable for kafka_protocol::messages::voters_record::KRaftVersionFeature

Source§

impl Encodable for kafka_protocol::messages::voters_record::Voter

Source§

impl Encodable for VotersRecord

Source§

impl Encodable for WritableTxnMarker

Available on crate feature client only.
Source§

impl Encodable for WritableTxnMarkerTopic

Available on crate feature client only.
Source§

impl Encodable for WriteTxnMarkersRequest

Available on crate feature client only.
Source§

impl Encodable for WritableTxnMarkerPartitionResult

Available on crate feature broker only.
Source§

impl Encodable for WritableTxnMarkerResult

Available on crate feature broker only.
Source§

impl Encodable for WritableTxnMarkerTopicResult

Available on crate feature broker only.
Source§

impl Encodable for WriteTxnMarkersResponse

Available on crate feature broker only.