pub enum TxnDataState {
NotTransactional,
DataSurvives,
DataFullyGone,
}Expand description
Whether the cleaner read data of a control marker’s own transaction in this
pass. This is Kafka’s per-transaction rule (CleanedTransactionMetadata),
not a per-producer one.
Variants§
NotTransactional
producer_id < 0: not a transactional producer.
DataSurvives
The pass read at least one batch of this marker’s transaction, so the marker stays.
DataFullyGone
The pass read no batch of this marker’s transaction, so the marker may age out through the delete horizon.
Trait Implementations§
Source§impl Clone for TxnDataState
impl Clone for TxnDataState
Source§fn clone(&self) -> TxnDataState
fn clone(&self) -> TxnDataState
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 moreimpl Copy for TxnDataState
Source§impl Debug for TxnDataState
impl Debug for TxnDataState
impl Eq for TxnDataState
Source§impl PartialEq for TxnDataState
impl PartialEq for TxnDataState
impl StructuralPartialEq for TxnDataState
Auto Trait Implementations§
impl Freeze for TxnDataState
impl RefUnwindSafe for TxnDataState
impl Send for TxnDataState
impl Sync for TxnDataState
impl Unpin for TxnDataState
impl UnsafeUnpin for TxnDataState
impl UnwindSafe for TxnDataState
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