#[non_exhaustive]pub enum ResponseKind {
Show 76 variants
Produce(ProduceResponse),
Fetch(FetchResponse),
ListOffsets(ListOffsetsResponse),
Metadata(MetadataResponse),
LeaderAndIsr(LeaderAndIsrResponse),
StopReplica(StopReplicaResponse),
UpdateMetadata(UpdateMetadataResponse),
ControlledShutdown(ControlledShutdownResponse),
OffsetCommit(OffsetCommitResponse),
OffsetFetch(OffsetFetchResponse),
FindCoordinator(FindCoordinatorResponse),
JoinGroup(JoinGroupResponse),
Heartbeat(HeartbeatResponse),
LeaveGroup(LeaveGroupResponse),
SyncGroup(SyncGroupResponse),
DescribeGroups(DescribeGroupsResponse),
ListGroups(ListGroupsResponse),
SaslHandshake(SaslHandshakeResponse),
ApiVersions(ApiVersionsResponse),
CreateTopics(CreateTopicsResponse),
DeleteTopics(DeleteTopicsResponse),
DeleteRecords(DeleteRecordsResponse),
InitProducerId(InitProducerIdResponse),
OffsetForLeaderEpoch(OffsetForLeaderEpochResponse),
AddPartitionsToTxn(AddPartitionsToTxnResponse),
AddOffsetsToTxn(AddOffsetsToTxnResponse),
EndTxn(EndTxnResponse),
WriteTxnMarkers(WriteTxnMarkersResponse),
TxnOffsetCommit(TxnOffsetCommitResponse),
DescribeAcls(DescribeAclsResponse),
CreateAcls(CreateAclsResponse),
DeleteAcls(DeleteAclsResponse),
DescribeConfigs(DescribeConfigsResponse),
AlterConfigs(AlterConfigsResponse),
AlterReplicaLogDirs(AlterReplicaLogDirsResponse),
DescribeLogDirs(DescribeLogDirsResponse),
SaslAuthenticate(SaslAuthenticateResponse),
CreatePartitions(CreatePartitionsResponse),
CreateDelegationToken(CreateDelegationTokenResponse),
RenewDelegationToken(RenewDelegationTokenResponse),
ExpireDelegationToken(ExpireDelegationTokenResponse),
DescribeDelegationToken(DescribeDelegationTokenResponse),
DeleteGroups(DeleteGroupsResponse),
ElectLeaders(ElectLeadersResponse),
IncrementalAlterConfigs(IncrementalAlterConfigsResponse),
AlterPartitionReassignments(AlterPartitionReassignmentsResponse),
ListPartitionReassignments(ListPartitionReassignmentsResponse),
OffsetDelete(OffsetDeleteResponse),
DescribeClientQuotas(DescribeClientQuotasResponse),
AlterClientQuotas(AlterClientQuotasResponse),
DescribeUserScramCredentials(DescribeUserScramCredentialsResponse),
AlterUserScramCredentials(AlterUserScramCredentialsResponse),
Vote(VoteResponse),
BeginQuorumEpoch(BeginQuorumEpochResponse),
EndQuorumEpoch(EndQuorumEpochResponse),
DescribeQuorum(DescribeQuorumResponse),
AlterPartition(AlterPartitionResponse),
UpdateFeatures(UpdateFeaturesResponse),
Envelope(EnvelopeResponse),
FetchSnapshot(FetchSnapshotResponse),
DescribeCluster(DescribeClusterResponse),
DescribeProducers(DescribeProducersResponse),
BrokerRegistration(BrokerRegistrationResponse),
BrokerHeartbeat(BrokerHeartbeatResponse),
UnregisterBroker(UnregisterBrokerResponse),
DescribeTransactions(DescribeTransactionsResponse),
ListTransactions(ListTransactionsResponse),
AllocateProducerIds(AllocateProducerIdsResponse),
ConsumerGroupHeartbeat(ConsumerGroupHeartbeatResponse),
ConsumerGroupDescribe(ConsumerGroupDescribeResponse),
ControllerRegistration(ControllerRegistrationResponse),
GetTelemetrySubscriptions(GetTelemetrySubscriptionsResponse),
PushTelemetry(PushTelemetryResponse),
AssignReplicasToDirs(AssignReplicasToDirsResponse),
ListClientMetricsResources(ListClientMetricsResourcesResponse),
DescribeTopicPartitions(DescribeTopicPartitionsResponse),
}messages_enums only.Expand description
Wrapping enum for all responses in the Kafka protocol.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Produce(ProduceResponse)
ProduceResponse,
Fetch(FetchResponse)
FetchResponse,
ListOffsets(ListOffsetsResponse)
ListOffsetsResponse,
Metadata(MetadataResponse)
MetadataResponse,
LeaderAndIsr(LeaderAndIsrResponse)
LeaderAndIsrResponse,
StopReplica(StopReplicaResponse)
StopReplicaResponse,
UpdateMetadata(UpdateMetadataResponse)
UpdateMetadataResponse,
ControlledShutdown(ControlledShutdownResponse)
ControlledShutdownResponse,
OffsetCommit(OffsetCommitResponse)
OffsetCommitResponse,
OffsetFetch(OffsetFetchResponse)
OffsetFetchResponse,
FindCoordinator(FindCoordinatorResponse)
FindCoordinatorResponse,
JoinGroup(JoinGroupResponse)
JoinGroupResponse,
Heartbeat(HeartbeatResponse)
HeartbeatResponse,
LeaveGroup(LeaveGroupResponse)
LeaveGroupResponse,
SyncGroup(SyncGroupResponse)
SyncGroupResponse,
DescribeGroups(DescribeGroupsResponse)
DescribeGroupsResponse,
ListGroups(ListGroupsResponse)
ListGroupsResponse,
SaslHandshake(SaslHandshakeResponse)
SaslHandshakeResponse,
ApiVersions(ApiVersionsResponse)
ApiVersionsResponse,
CreateTopics(CreateTopicsResponse)
CreateTopicsResponse,
DeleteTopics(DeleteTopicsResponse)
DeleteTopicsResponse,
DeleteRecords(DeleteRecordsResponse)
DeleteRecordsResponse,
InitProducerId(InitProducerIdResponse)
InitProducerIdResponse,
OffsetForLeaderEpoch(OffsetForLeaderEpochResponse)
OffsetForLeaderEpochResponse,
AddPartitionsToTxn(AddPartitionsToTxnResponse)
AddPartitionsToTxnResponse,
AddOffsetsToTxn(AddOffsetsToTxnResponse)
AddOffsetsToTxnResponse,
EndTxn(EndTxnResponse)
EndTxnResponse,
WriteTxnMarkers(WriteTxnMarkersResponse)
WriteTxnMarkersResponse,
TxnOffsetCommit(TxnOffsetCommitResponse)
TxnOffsetCommitResponse,
DescribeAcls(DescribeAclsResponse)
DescribeAclsResponse,
CreateAcls(CreateAclsResponse)
CreateAclsResponse,
DeleteAcls(DeleteAclsResponse)
DeleteAclsResponse,
DescribeConfigs(DescribeConfigsResponse)
DescribeConfigsResponse,
AlterConfigs(AlterConfigsResponse)
AlterConfigsResponse,
AlterReplicaLogDirs(AlterReplicaLogDirsResponse)
AlterReplicaLogDirsResponse,
DescribeLogDirs(DescribeLogDirsResponse)
DescribeLogDirsResponse,
SaslAuthenticate(SaslAuthenticateResponse)
SaslAuthenticateResponse,
CreatePartitions(CreatePartitionsResponse)
CreatePartitionsResponse,
CreateDelegationToken(CreateDelegationTokenResponse)
CreateDelegationTokenResponse,
RenewDelegationToken(RenewDelegationTokenResponse)
RenewDelegationTokenResponse,
ExpireDelegationToken(ExpireDelegationTokenResponse)
ExpireDelegationTokenResponse,
DescribeDelegationToken(DescribeDelegationTokenResponse)
DescribeDelegationTokenResponse,
DeleteGroups(DeleteGroupsResponse)
DeleteGroupsResponse,
ElectLeaders(ElectLeadersResponse)
ElectLeadersResponse,
IncrementalAlterConfigs(IncrementalAlterConfigsResponse)
IncrementalAlterConfigsResponse,
AlterPartitionReassignments(AlterPartitionReassignmentsResponse)
AlterPartitionReassignmentsResponse,
ListPartitionReassignments(ListPartitionReassignmentsResponse)
ListPartitionReassignmentsResponse,
OffsetDelete(OffsetDeleteResponse)
OffsetDeleteResponse,
DescribeClientQuotas(DescribeClientQuotasResponse)
DescribeClientQuotasResponse,
AlterClientQuotas(AlterClientQuotasResponse)
AlterClientQuotasResponse,
DescribeUserScramCredentials(DescribeUserScramCredentialsResponse)
DescribeUserScramCredentialsResponse,
AlterUserScramCredentials(AlterUserScramCredentialsResponse)
AlterUserScramCredentialsResponse,
Vote(VoteResponse)
VoteResponse,
BeginQuorumEpoch(BeginQuorumEpochResponse)
BeginQuorumEpochResponse,
EndQuorumEpoch(EndQuorumEpochResponse)
EndQuorumEpochResponse,
DescribeQuorum(DescribeQuorumResponse)
DescribeQuorumResponse,
AlterPartition(AlterPartitionResponse)
AlterPartitionResponse,
UpdateFeatures(UpdateFeaturesResponse)
UpdateFeaturesResponse,
Envelope(EnvelopeResponse)
EnvelopeResponse,
FetchSnapshot(FetchSnapshotResponse)
FetchSnapshotResponse,
DescribeCluster(DescribeClusterResponse)
DescribeClusterResponse,
DescribeProducers(DescribeProducersResponse)
DescribeProducersResponse,
BrokerRegistration(BrokerRegistrationResponse)
BrokerRegistrationResponse,
BrokerHeartbeat(BrokerHeartbeatResponse)
BrokerHeartbeatResponse,
UnregisterBroker(UnregisterBrokerResponse)
UnregisterBrokerResponse,
DescribeTransactions(DescribeTransactionsResponse)
DescribeTransactionsResponse,
ListTransactions(ListTransactionsResponse)
ListTransactionsResponse,
AllocateProducerIds(AllocateProducerIdsResponse)
AllocateProducerIdsResponse,
ConsumerGroupHeartbeat(ConsumerGroupHeartbeatResponse)
ConsumerGroupHeartbeatResponse,
ConsumerGroupDescribe(ConsumerGroupDescribeResponse)
ConsumerGroupDescribeResponse,
ControllerRegistration(ControllerRegistrationResponse)
ControllerRegistrationResponse,
GetTelemetrySubscriptions(GetTelemetrySubscriptionsResponse)
GetTelemetrySubscriptionsResponse,
PushTelemetry(PushTelemetryResponse)
PushTelemetryResponse,
AssignReplicasToDirs(AssignReplicasToDirsResponse)
AssignReplicasToDirsResponse,
ListClientMetricsResources(ListClientMetricsResourcesResponse)
ListClientMetricsResourcesResponse,
DescribeTopicPartitions(DescribeTopicPartitionsResponse)
DescribeTopicPartitionsResponse,
Implementations§
source§impl ResponseKind
impl ResponseKind
sourcepub fn encode(&self, bytes: &mut BytesMut, version: i16) -> Result<()>
Available on crate feature broker only.
pub fn encode(&self, bytes: &mut BytesMut, version: i16) -> Result<()>
broker only.Encode the message into the target buffer
sourcepub fn decode(
api_key: ApiKey,
bytes: &mut Bytes,
version: i16,
) -> Result<ResponseKind>
Available on crate feature client only.
pub fn decode( api_key: ApiKey, bytes: &mut Bytes, version: i16, ) -> Result<ResponseKind>
client only.Decode the message from the provided buffer and version
sourcepub fn header_version(&self, version: i16) -> i16
pub fn header_version(&self, version: i16) -> i16
Get the version of request header that needs to be prepended to this message
Trait Implementations§
source§impl Clone for ResponseKind
impl Clone for ResponseKind
source§fn clone(&self) -> ResponseKind
fn clone(&self) -> ResponseKind
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ResponseKind
impl Debug for ResponseKind
source§impl From<AddOffsetsToTxnResponse> for ResponseKind
impl From<AddOffsetsToTxnResponse> for ResponseKind
source§fn from(value: AddOffsetsToTxnResponse) -> ResponseKind
fn from(value: AddOffsetsToTxnResponse) -> ResponseKind
source§impl From<AddPartitionsToTxnResponse> for ResponseKind
impl From<AddPartitionsToTxnResponse> for ResponseKind
source§fn from(value: AddPartitionsToTxnResponse) -> ResponseKind
fn from(value: AddPartitionsToTxnResponse) -> ResponseKind
source§impl From<AllocateProducerIdsResponse> for ResponseKind
impl From<AllocateProducerIdsResponse> for ResponseKind
source§fn from(value: AllocateProducerIdsResponse) -> ResponseKind
fn from(value: AllocateProducerIdsResponse) -> ResponseKind
source§impl From<AlterClientQuotasResponse> for ResponseKind
impl From<AlterClientQuotasResponse> for ResponseKind
source§fn from(value: AlterClientQuotasResponse) -> ResponseKind
fn from(value: AlterClientQuotasResponse) -> ResponseKind
source§impl From<AlterConfigsResponse> for ResponseKind
impl From<AlterConfigsResponse> for ResponseKind
source§fn from(value: AlterConfigsResponse) -> ResponseKind
fn from(value: AlterConfigsResponse) -> ResponseKind
source§impl From<AlterPartitionReassignmentsResponse> for ResponseKind
impl From<AlterPartitionReassignmentsResponse> for ResponseKind
source§fn from(value: AlterPartitionReassignmentsResponse) -> ResponseKind
fn from(value: AlterPartitionReassignmentsResponse) -> ResponseKind
source§impl From<AlterPartitionResponse> for ResponseKind
impl From<AlterPartitionResponse> for ResponseKind
source§fn from(value: AlterPartitionResponse) -> ResponseKind
fn from(value: AlterPartitionResponse) -> ResponseKind
source§impl From<AlterReplicaLogDirsResponse> for ResponseKind
impl From<AlterReplicaLogDirsResponse> for ResponseKind
source§fn from(value: AlterReplicaLogDirsResponse) -> ResponseKind
fn from(value: AlterReplicaLogDirsResponse) -> ResponseKind
source§impl From<AlterUserScramCredentialsResponse> for ResponseKind
impl From<AlterUserScramCredentialsResponse> for ResponseKind
source§fn from(value: AlterUserScramCredentialsResponse) -> ResponseKind
fn from(value: AlterUserScramCredentialsResponse) -> ResponseKind
source§impl From<ApiVersionsResponse> for ResponseKind
impl From<ApiVersionsResponse> for ResponseKind
source§fn from(value: ApiVersionsResponse) -> ResponseKind
fn from(value: ApiVersionsResponse) -> ResponseKind
source§impl From<AssignReplicasToDirsResponse> for ResponseKind
impl From<AssignReplicasToDirsResponse> for ResponseKind
source§fn from(value: AssignReplicasToDirsResponse) -> ResponseKind
fn from(value: AssignReplicasToDirsResponse) -> ResponseKind
source§impl From<BeginQuorumEpochResponse> for ResponseKind
impl From<BeginQuorumEpochResponse> for ResponseKind
source§fn from(value: BeginQuorumEpochResponse) -> ResponseKind
fn from(value: BeginQuorumEpochResponse) -> ResponseKind
source§impl From<BrokerHeartbeatResponse> for ResponseKind
impl From<BrokerHeartbeatResponse> for ResponseKind
source§fn from(value: BrokerHeartbeatResponse) -> ResponseKind
fn from(value: BrokerHeartbeatResponse) -> ResponseKind
source§impl From<BrokerRegistrationResponse> for ResponseKind
impl From<BrokerRegistrationResponse> for ResponseKind
source§fn from(value: BrokerRegistrationResponse) -> ResponseKind
fn from(value: BrokerRegistrationResponse) -> ResponseKind
source§impl From<ConsumerGroupDescribeResponse> for ResponseKind
impl From<ConsumerGroupDescribeResponse> for ResponseKind
source§fn from(value: ConsumerGroupDescribeResponse) -> ResponseKind
fn from(value: ConsumerGroupDescribeResponse) -> ResponseKind
source§impl From<ConsumerGroupHeartbeatResponse> for ResponseKind
impl From<ConsumerGroupHeartbeatResponse> for ResponseKind
source§fn from(value: ConsumerGroupHeartbeatResponse) -> ResponseKind
fn from(value: ConsumerGroupHeartbeatResponse) -> ResponseKind
source§impl From<ControlledShutdownResponse> for ResponseKind
impl From<ControlledShutdownResponse> for ResponseKind
source§fn from(value: ControlledShutdownResponse) -> ResponseKind
fn from(value: ControlledShutdownResponse) -> ResponseKind
source§impl From<ControllerRegistrationResponse> for ResponseKind
impl From<ControllerRegistrationResponse> for ResponseKind
source§fn from(value: ControllerRegistrationResponse) -> ResponseKind
fn from(value: ControllerRegistrationResponse) -> ResponseKind
source§impl From<CreateAclsResponse> for ResponseKind
impl From<CreateAclsResponse> for ResponseKind
source§fn from(value: CreateAclsResponse) -> ResponseKind
fn from(value: CreateAclsResponse) -> ResponseKind
source§impl From<CreateDelegationTokenResponse> for ResponseKind
impl From<CreateDelegationTokenResponse> for ResponseKind
source§fn from(value: CreateDelegationTokenResponse) -> ResponseKind
fn from(value: CreateDelegationTokenResponse) -> ResponseKind
source§impl From<CreatePartitionsResponse> for ResponseKind
impl From<CreatePartitionsResponse> for ResponseKind
source§fn from(value: CreatePartitionsResponse) -> ResponseKind
fn from(value: CreatePartitionsResponse) -> ResponseKind
source§impl From<CreateTopicsResponse> for ResponseKind
impl From<CreateTopicsResponse> for ResponseKind
source§fn from(value: CreateTopicsResponse) -> ResponseKind
fn from(value: CreateTopicsResponse) -> ResponseKind
source§impl From<DeleteAclsResponse> for ResponseKind
impl From<DeleteAclsResponse> for ResponseKind
source§fn from(value: DeleteAclsResponse) -> ResponseKind
fn from(value: DeleteAclsResponse) -> ResponseKind
source§impl From<DeleteGroupsResponse> for ResponseKind
impl From<DeleteGroupsResponse> for ResponseKind
source§fn from(value: DeleteGroupsResponse) -> ResponseKind
fn from(value: DeleteGroupsResponse) -> ResponseKind
source§impl From<DeleteRecordsResponse> for ResponseKind
impl From<DeleteRecordsResponse> for ResponseKind
source§fn from(value: DeleteRecordsResponse) -> ResponseKind
fn from(value: DeleteRecordsResponse) -> ResponseKind
source§impl From<DeleteTopicsResponse> for ResponseKind
impl From<DeleteTopicsResponse> for ResponseKind
source§fn from(value: DeleteTopicsResponse) -> ResponseKind
fn from(value: DeleteTopicsResponse) -> ResponseKind
source§impl From<DescribeAclsResponse> for ResponseKind
impl From<DescribeAclsResponse> for ResponseKind
source§fn from(value: DescribeAclsResponse) -> ResponseKind
fn from(value: DescribeAclsResponse) -> ResponseKind
source§impl From<DescribeClientQuotasResponse> for ResponseKind
impl From<DescribeClientQuotasResponse> for ResponseKind
source§fn from(value: DescribeClientQuotasResponse) -> ResponseKind
fn from(value: DescribeClientQuotasResponse) -> ResponseKind
source§impl From<DescribeClusterResponse> for ResponseKind
impl From<DescribeClusterResponse> for ResponseKind
source§fn from(value: DescribeClusterResponse) -> ResponseKind
fn from(value: DescribeClusterResponse) -> ResponseKind
source§impl From<DescribeConfigsResponse> for ResponseKind
impl From<DescribeConfigsResponse> for ResponseKind
source§fn from(value: DescribeConfigsResponse) -> ResponseKind
fn from(value: DescribeConfigsResponse) -> ResponseKind
source§impl From<DescribeDelegationTokenResponse> for ResponseKind
impl From<DescribeDelegationTokenResponse> for ResponseKind
source§fn from(value: DescribeDelegationTokenResponse) -> ResponseKind
fn from(value: DescribeDelegationTokenResponse) -> ResponseKind
source§impl From<DescribeGroupsResponse> for ResponseKind
impl From<DescribeGroupsResponse> for ResponseKind
source§fn from(value: DescribeGroupsResponse) -> ResponseKind
fn from(value: DescribeGroupsResponse) -> ResponseKind
source§impl From<DescribeLogDirsResponse> for ResponseKind
impl From<DescribeLogDirsResponse> for ResponseKind
source§fn from(value: DescribeLogDirsResponse) -> ResponseKind
fn from(value: DescribeLogDirsResponse) -> ResponseKind
source§impl From<DescribeProducersResponse> for ResponseKind
impl From<DescribeProducersResponse> for ResponseKind
source§fn from(value: DescribeProducersResponse) -> ResponseKind
fn from(value: DescribeProducersResponse) -> ResponseKind
source§impl From<DescribeQuorumResponse> for ResponseKind
impl From<DescribeQuorumResponse> for ResponseKind
source§fn from(value: DescribeQuorumResponse) -> ResponseKind
fn from(value: DescribeQuorumResponse) -> ResponseKind
source§impl From<DescribeTopicPartitionsResponse> for ResponseKind
impl From<DescribeTopicPartitionsResponse> for ResponseKind
source§fn from(value: DescribeTopicPartitionsResponse) -> ResponseKind
fn from(value: DescribeTopicPartitionsResponse) -> ResponseKind
source§impl From<DescribeTransactionsResponse> for ResponseKind
impl From<DescribeTransactionsResponse> for ResponseKind
source§fn from(value: DescribeTransactionsResponse) -> ResponseKind
fn from(value: DescribeTransactionsResponse) -> ResponseKind
source§impl From<DescribeUserScramCredentialsResponse> for ResponseKind
impl From<DescribeUserScramCredentialsResponse> for ResponseKind
source§fn from(value: DescribeUserScramCredentialsResponse) -> ResponseKind
fn from(value: DescribeUserScramCredentialsResponse) -> ResponseKind
source§impl From<ElectLeadersResponse> for ResponseKind
impl From<ElectLeadersResponse> for ResponseKind
source§fn from(value: ElectLeadersResponse) -> ResponseKind
fn from(value: ElectLeadersResponse) -> ResponseKind
source§impl From<EndQuorumEpochResponse> for ResponseKind
impl From<EndQuorumEpochResponse> for ResponseKind
source§fn from(value: EndQuorumEpochResponse) -> ResponseKind
fn from(value: EndQuorumEpochResponse) -> ResponseKind
source§impl From<EndTxnResponse> for ResponseKind
impl From<EndTxnResponse> for ResponseKind
source§fn from(value: EndTxnResponse) -> ResponseKind
fn from(value: EndTxnResponse) -> ResponseKind
source§impl From<EnvelopeResponse> for ResponseKind
impl From<EnvelopeResponse> for ResponseKind
source§fn from(value: EnvelopeResponse) -> ResponseKind
fn from(value: EnvelopeResponse) -> ResponseKind
source§impl From<ExpireDelegationTokenResponse> for ResponseKind
impl From<ExpireDelegationTokenResponse> for ResponseKind
source§fn from(value: ExpireDelegationTokenResponse) -> ResponseKind
fn from(value: ExpireDelegationTokenResponse) -> ResponseKind
source§impl From<FetchResponse> for ResponseKind
impl From<FetchResponse> for ResponseKind
source§fn from(value: FetchResponse) -> ResponseKind
fn from(value: FetchResponse) -> ResponseKind
source§impl From<FetchSnapshotResponse> for ResponseKind
impl From<FetchSnapshotResponse> for ResponseKind
source§fn from(value: FetchSnapshotResponse) -> ResponseKind
fn from(value: FetchSnapshotResponse) -> ResponseKind
source§impl From<FindCoordinatorResponse> for ResponseKind
impl From<FindCoordinatorResponse> for ResponseKind
source§fn from(value: FindCoordinatorResponse) -> ResponseKind
fn from(value: FindCoordinatorResponse) -> ResponseKind
source§impl From<GetTelemetrySubscriptionsResponse> for ResponseKind
impl From<GetTelemetrySubscriptionsResponse> for ResponseKind
source§fn from(value: GetTelemetrySubscriptionsResponse) -> ResponseKind
fn from(value: GetTelemetrySubscriptionsResponse) -> ResponseKind
source§impl From<HeartbeatResponse> for ResponseKind
impl From<HeartbeatResponse> for ResponseKind
source§fn from(value: HeartbeatResponse) -> ResponseKind
fn from(value: HeartbeatResponse) -> ResponseKind
source§impl From<IncrementalAlterConfigsResponse> for ResponseKind
impl From<IncrementalAlterConfigsResponse> for ResponseKind
source§fn from(value: IncrementalAlterConfigsResponse) -> ResponseKind
fn from(value: IncrementalAlterConfigsResponse) -> ResponseKind
source§impl From<InitProducerIdResponse> for ResponseKind
impl From<InitProducerIdResponse> for ResponseKind
source§fn from(value: InitProducerIdResponse) -> ResponseKind
fn from(value: InitProducerIdResponse) -> ResponseKind
source§impl From<JoinGroupResponse> for ResponseKind
impl From<JoinGroupResponse> for ResponseKind
source§fn from(value: JoinGroupResponse) -> ResponseKind
fn from(value: JoinGroupResponse) -> ResponseKind
source§impl From<LeaderAndIsrResponse> for ResponseKind
impl From<LeaderAndIsrResponse> for ResponseKind
source§fn from(value: LeaderAndIsrResponse) -> ResponseKind
fn from(value: LeaderAndIsrResponse) -> ResponseKind
source§impl From<LeaveGroupResponse> for ResponseKind
impl From<LeaveGroupResponse> for ResponseKind
source§fn from(value: LeaveGroupResponse) -> ResponseKind
fn from(value: LeaveGroupResponse) -> ResponseKind
source§impl From<ListClientMetricsResourcesResponse> for ResponseKind
impl From<ListClientMetricsResourcesResponse> for ResponseKind
source§fn from(value: ListClientMetricsResourcesResponse) -> ResponseKind
fn from(value: ListClientMetricsResourcesResponse) -> ResponseKind
source§impl From<ListGroupsResponse> for ResponseKind
impl From<ListGroupsResponse> for ResponseKind
source§fn from(value: ListGroupsResponse) -> ResponseKind
fn from(value: ListGroupsResponse) -> ResponseKind
source§impl From<ListOffsetsResponse> for ResponseKind
impl From<ListOffsetsResponse> for ResponseKind
source§fn from(value: ListOffsetsResponse) -> ResponseKind
fn from(value: ListOffsetsResponse) -> ResponseKind
source§impl From<ListPartitionReassignmentsResponse> for ResponseKind
impl From<ListPartitionReassignmentsResponse> for ResponseKind
source§fn from(value: ListPartitionReassignmentsResponse) -> ResponseKind
fn from(value: ListPartitionReassignmentsResponse) -> ResponseKind
source§impl From<ListTransactionsResponse> for ResponseKind
impl From<ListTransactionsResponse> for ResponseKind
source§fn from(value: ListTransactionsResponse) -> ResponseKind
fn from(value: ListTransactionsResponse) -> ResponseKind
source§impl From<MetadataResponse> for ResponseKind
impl From<MetadataResponse> for ResponseKind
source§fn from(value: MetadataResponse) -> ResponseKind
fn from(value: MetadataResponse) -> ResponseKind
source§impl From<OffsetCommitResponse> for ResponseKind
impl From<OffsetCommitResponse> for ResponseKind
source§fn from(value: OffsetCommitResponse) -> ResponseKind
fn from(value: OffsetCommitResponse) -> ResponseKind
source§impl From<OffsetDeleteResponse> for ResponseKind
impl From<OffsetDeleteResponse> for ResponseKind
source§fn from(value: OffsetDeleteResponse) -> ResponseKind
fn from(value: OffsetDeleteResponse) -> ResponseKind
source§impl From<OffsetFetchResponse> for ResponseKind
impl From<OffsetFetchResponse> for ResponseKind
source§fn from(value: OffsetFetchResponse) -> ResponseKind
fn from(value: OffsetFetchResponse) -> ResponseKind
source§impl From<OffsetForLeaderEpochResponse> for ResponseKind
impl From<OffsetForLeaderEpochResponse> for ResponseKind
source§fn from(value: OffsetForLeaderEpochResponse) -> ResponseKind
fn from(value: OffsetForLeaderEpochResponse) -> ResponseKind
source§impl From<ProduceResponse> for ResponseKind
impl From<ProduceResponse> for ResponseKind
source§fn from(value: ProduceResponse) -> ResponseKind
fn from(value: ProduceResponse) -> ResponseKind
source§impl From<PushTelemetryResponse> for ResponseKind
impl From<PushTelemetryResponse> for ResponseKind
source§fn from(value: PushTelemetryResponse) -> ResponseKind
fn from(value: PushTelemetryResponse) -> ResponseKind
source§impl From<RenewDelegationTokenResponse> for ResponseKind
impl From<RenewDelegationTokenResponse> for ResponseKind
source§fn from(value: RenewDelegationTokenResponse) -> ResponseKind
fn from(value: RenewDelegationTokenResponse) -> ResponseKind
source§impl From<SaslAuthenticateResponse> for ResponseKind
impl From<SaslAuthenticateResponse> for ResponseKind
source§fn from(value: SaslAuthenticateResponse) -> ResponseKind
fn from(value: SaslAuthenticateResponse) -> ResponseKind
source§impl From<SaslHandshakeResponse> for ResponseKind
impl From<SaslHandshakeResponse> for ResponseKind
source§fn from(value: SaslHandshakeResponse) -> ResponseKind
fn from(value: SaslHandshakeResponse) -> ResponseKind
source§impl From<StopReplicaResponse> for ResponseKind
impl From<StopReplicaResponse> for ResponseKind
source§fn from(value: StopReplicaResponse) -> ResponseKind
fn from(value: StopReplicaResponse) -> ResponseKind
source§impl From<SyncGroupResponse> for ResponseKind
impl From<SyncGroupResponse> for ResponseKind
source§fn from(value: SyncGroupResponse) -> ResponseKind
fn from(value: SyncGroupResponse) -> ResponseKind
source§impl From<TxnOffsetCommitResponse> for ResponseKind
impl From<TxnOffsetCommitResponse> for ResponseKind
source§fn from(value: TxnOffsetCommitResponse) -> ResponseKind
fn from(value: TxnOffsetCommitResponse) -> ResponseKind
source§impl From<UnregisterBrokerResponse> for ResponseKind
impl From<UnregisterBrokerResponse> for ResponseKind
source§fn from(value: UnregisterBrokerResponse) -> ResponseKind
fn from(value: UnregisterBrokerResponse) -> ResponseKind
source§impl From<UpdateFeaturesResponse> for ResponseKind
impl From<UpdateFeaturesResponse> for ResponseKind
source§fn from(value: UpdateFeaturesResponse) -> ResponseKind
fn from(value: UpdateFeaturesResponse) -> ResponseKind
source§impl From<UpdateMetadataResponse> for ResponseKind
impl From<UpdateMetadataResponse> for ResponseKind
source§fn from(value: UpdateMetadataResponse) -> ResponseKind
fn from(value: UpdateMetadataResponse) -> ResponseKind
source§impl From<VoteResponse> for ResponseKind
impl From<VoteResponse> for ResponseKind
source§fn from(value: VoteResponse) -> ResponseKind
fn from(value: VoteResponse) -> ResponseKind
source§impl From<WriteTxnMarkersResponse> for ResponseKind
impl From<WriteTxnMarkersResponse> for ResponseKind
source§fn from(value: WriteTxnMarkersResponse) -> ResponseKind
fn from(value: WriteTxnMarkersResponse) -> ResponseKind
source§impl PartialEq for ResponseKind
impl PartialEq for ResponseKind
impl StructuralPartialEq for ResponseKind
Auto Trait Implementations§
impl !Freeze for ResponseKind
impl RefUnwindSafe for ResponseKind
impl Send for ResponseKind
impl Sync for ResponseKind
impl Unpin for ResponseKind
impl UnwindSafe for ResponseKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)