#[non_exhaustive]pub enum MetadataRecord {
Show 20 variants
V1Topic(TopicRecord),
V1Partition(PartitionRecord),
V1BrokerRegistration(BrokerRegistrationRecord),
V1DeleteTopic(DeleteTopicRecord),
V1TopicConfig(TopicConfigRecord),
V1ScramCredential(ScramCredentialRecord),
V1DeleteScramCredential(DeleteScramCredentialRecord),
V1AccessControlEntry(AclEntry),
V1DeleteAccessControlEntry(AclEntryFilter),
V1BrokerConfig(BrokerConfigRecord),
V1ClientQuota(ClientQuotaRecord),
V1DelegationToken(DelegationTokenRecord),
V1DeleteDelegationToken(DeleteDelegationTokenRecord),
V1UnregisterBroker(UnregisterBrokerRecord),
V1KRaftVersion(KRaftVersionRecord),
V1Voters(VotersRecord),
V1FeatureLevel(FeatureLevelRecord),
V1ClientMetricsConfig(ClientMetricsConfigRecord),
V1FeaturesEpoch(FeaturesEpochRecord),
V1PartitionDirAssignment(PartitionDirAssignmentRecord),
}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.
V1Topic(TopicRecord)
V1Partition(PartitionRecord)
V1BrokerRegistration(BrokerRegistrationRecord)
V1DeleteTopic(DeleteTopicRecord)
V1TopicConfig(TopicConfigRecord)
V1ScramCredential(ScramCredentialRecord)
V1DeleteScramCredential(DeleteScramCredentialRecord)
V1AccessControlEntry(AclEntry)
V1DeleteAccessControlEntry(AclEntryFilter)
V1BrokerConfig(BrokerConfigRecord)
V1ClientQuota(ClientQuotaRecord)
V1DelegationToken(DelegationTokenRecord)
V1DeleteDelegationToken(DeleteDelegationTokenRecord)
V1UnregisterBroker(UnregisterBrokerRecord)
V1KRaftVersion(KRaftVersionRecord)
V1Voters(VotersRecord)
V1FeatureLevel(FeatureLevelRecord)
V1ClientMetricsConfig(ClientMetricsConfigRecord)
V1FeaturesEpoch(FeaturesEpochRecord)
Snapshot-only: pins the finalized-features epoch on reconstruction.
Never submitted via the controller; see FeaturesEpochRecord.
V1PartitionDirAssignment(PartitionDirAssignmentRecord)
KIP-858 directory-assignment delta (see PartitionDirAssignmentRecord).
Applied as a merge into one replica’s directories slot; on the KRaft
log it rides a Crabka-private carrier so it stays a delta end-to-end.
Trait Implementations§
Source§impl Clone for MetadataRecord
impl Clone for MetadataRecord
Source§fn clone(&self) -> MetadataRecord
fn clone(&self) -> MetadataRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MetadataRecord
impl Debug for MetadataRecord
Source§impl<'de> Deserialize<'de> for MetadataRecord
impl<'de> Deserialize<'de> for MetadataRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MetadataRecord
impl PartialEq for MetadataRecord
Source§fn eq(&self, other: &MetadataRecord) -> bool
fn eq(&self, other: &MetadataRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MetadataRecord
impl Serialize for MetadataRecord
impl StructuralPartialEq for MetadataRecord
Auto Trait Implementations§
impl Freeze for MetadataRecord
impl RefUnwindSafe for MetadataRecord
impl Send for MetadataRecord
impl Sync for MetadataRecord
impl Unpin for MetadataRecord
impl UnsafeUnpin for MetadataRecord
impl UnwindSafe for MetadataRecord
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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