Enum rdkafka_sys::types::RDKafkaApiKey
source · #[non_exhaustive]#[repr(i16)]pub enum RDKafkaApiKey {
Show 59 variants
Produce = 0,
Fetch = 1,
ListOffsets = 2,
Metadata = 3,
LeaderAndIsr = 4,
StopReplica = 5,
UpdateMetadata = 6,
ControlledShutdown = 7,
OffsetCommit = 8,
OffsetFetch = 9,
FindCoordinator = 10,
JoinGroup = 11,
Heartbeat = 12,
LeaveGroup = 13,
SyncGroup = 14,
DescribeGroups = 15,
ListGroups = 16,
SaslHandshake = 17,
ApiVersion = 18,
CreateTopics = 19,
DeleteTopics = 20,
DeleteRecords = 21,
InitProducerId = 22,
OffsetForLeaderEpoch = 23,
AddPartitionsToTxn = 24,
AddOffsetsToTxn = 25,
EndTxn = 26,
WriteTxnMarkers = 27,
TxnOffsetCommit = 28,
DescribeAcls = 29,
CreateAcls = 30,
DeleteAcls = 31,
DescribeConfigs = 32,
AlterConfigs = 33,
AlterReplicaLogDirs = 34,
DescribeLogDirs = 35,
SaslAuthenticate = 36,
CreatePartitions = 37,
CreateDelegationToken = 38,
RenewDelegationToken = 39,
ExpireDelegationToken = 40,
DescribeDelegationToken = 41,
DeleteGroups = 42,
ElectLeaders = 43,
IncrementalAlterConfigs = 44,
AlterPartitionReassignments = 45,
ListPartitionReassignments = 46,
OffsetDelete = 47,
DescribeClientQuotas = 48,
AlterClientQuotas = 49,
DescribeUserScramCredentials = 50,
AlterUserScramCredentials = 51,
Vote = 52,
BeginQuorumEpoch = 53,
EndQuorumEpoch = 54,
DescribeQuorum = 55,
AlterIsr = 56,
UpdateFeatures = 57,
Envelope = 58,
}
Expand description
Native rdkafka ApiKeys / protocol requests
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Produce = 0
Fetch = 1
ListOffsets = 2
Metadata = 3
LeaderAndIsr = 4
StopReplica = 5
UpdateMetadata = 6
ControlledShutdown = 7
OffsetCommit = 8
OffsetFetch = 9
FindCoordinator = 10
JoinGroup = 11
Heartbeat = 12
LeaveGroup = 13
SyncGroup = 14
DescribeGroups = 15
ListGroups = 16
SaslHandshake = 17
ApiVersion = 18
CreateTopics = 19
DeleteTopics = 20
DeleteRecords = 21
InitProducerId = 22
OffsetForLeaderEpoch = 23
AddPartitionsToTxn = 24
AddOffsetsToTxn = 25
EndTxn = 26
WriteTxnMarkers = 27
TxnOffsetCommit = 28
DescribeAcls = 29
CreateAcls = 30
DeleteAcls = 31
DescribeConfigs = 32
AlterConfigs = 33
AlterReplicaLogDirs = 34
DescribeLogDirs = 35
SaslAuthenticate = 36
CreatePartitions = 37
CreateDelegationToken = 38
RenewDelegationToken = 39
ExpireDelegationToken = 40
DescribeDelegationToken = 41
DeleteGroups = 42
ElectLeaders = 43
IncrementalAlterConfigs = 44
AlterPartitionReassignments = 45
ListPartitionReassignments = 46
OffsetDelete = 47
DescribeClientQuotas = 48
AlterClientQuotas = 49
DescribeUserScramCredentials = 50
AlterUserScramCredentials = 51
Vote = 52
BeginQuorumEpoch = 53
EndQuorumEpoch = 54
DescribeQuorum = 55
AlterIsr = 56
UpdateFeatures = 57
Envelope = 58
Trait Implementations§
source§impl Clone for RDKafkaApiKey
impl Clone for RDKafkaApiKey
source§fn clone(&self) -> RDKafkaApiKey
fn clone(&self) -> RDKafkaApiKey
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RDKafkaApiKey
impl Debug for RDKafkaApiKey
source§impl From<RDKafkaApiKey> for i16
impl From<RDKafkaApiKey> for i16
source§fn from(enum_value: RDKafkaApiKey) -> Self
fn from(enum_value: RDKafkaApiKey) -> Self
Converts to this type from the input type.
source§impl PartialEq for RDKafkaApiKey
impl PartialEq for RDKafkaApiKey
source§fn eq(&self, other: &RDKafkaApiKey) -> bool
fn eq(&self, other: &RDKafkaApiKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RDKafkaApiKey
impl Eq for RDKafkaApiKey
impl StructuralEq for RDKafkaApiKey
impl StructuralPartialEq for RDKafkaApiKey
Auto Trait Implementations§
impl RefUnwindSafe for RDKafkaApiKey
impl Send for RDKafkaApiKey
impl Sync for RDKafkaApiKey
impl Unpin for RDKafkaApiKey
impl UnwindSafe for RDKafkaApiKey
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
Mutably borrows from an owned value. Read more