#[non_exhaustive]pub enum ApiKey {
Show 35 variants
Produce,
Fetch,
ListOffsets,
Metadata,
OffsetCommit,
OffsetFetch,
FindCoordinator,
JoinGroup,
Heartbeat,
LeaveGroup,
SyncGroup,
DescribeGroups,
ListGroups,
SaslHandshake,
ApiVersions,
CreateTopics,
DeleteTopics,
DeleteRecords,
InitProducerId,
OffsetForLeaderEpoch,
AddPartitionsToTxn,
AddOffsetsToTxn,
EndTxn,
TxnOffsetCommit,
DescribeConfigs,
AlterConfigs,
SaslAuthenticate,
CreatePartitions,
DeleteGroups,
ElectLeaders,
IncrementalAlterConfigs,
OffsetDelete,
DescribeCluster,
ConsumerGroupHeartbeat,
ConsumerGroupDescribe,
}Expand description
A Kafka request type identifier.
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
Fetch
ListOffsets
Metadata
OffsetCommit
OffsetFetch
FindCoordinator
JoinGroup
Heartbeat
LeaveGroup
SyncGroup
DescribeGroups
ListGroups
SaslHandshake
ApiVersions
CreateTopics
DeleteTopics
DeleteRecords
InitProducerId
OffsetForLeaderEpoch
AddPartitionsToTxn
AddOffsetsToTxn
EndTxn
TxnOffsetCommit
DescribeConfigs
AlterConfigs
SaslAuthenticate
CreatePartitions
DeleteGroups
ElectLeaders
IncrementalAlterConfigs
OffsetDelete
DescribeCluster
ConsumerGroupHeartbeat
ConsumerGroupDescribe
Implementations§
Trait Implementations§
impl Copy for ApiKey
impl Eq for ApiKey
impl StructuralPartialEq for ApiKey
Auto Trait Implementations§
impl Forget for ApiKey
impl Freeze for ApiKey
impl Move for ApiKey
impl RefUnwindSafe for ApiKey
impl Send for ApiKey
impl Sync for ApiKey
impl Unpin for ApiKey
impl UnsafeUnpin for ApiKey
impl UnwindSafe for ApiKey
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