pub enum ProducerDecision {
Append,
Duplicate {
retained: usize,
},
OutOfOrder,
Fenced,
}Expand description
Result of classifying an idempotent-producer batch.
Variants§
Append
Duplicate
The batch repeats the retained batch at this index of the slice the caller passed.
OutOfOrder
Fenced
Trait Implementations§
Source§impl Clone for ProducerDecision
impl Clone for ProducerDecision
Source§fn clone(&self) -> ProducerDecision
fn clone(&self) -> ProducerDecision
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 ProducerDecision
Source§impl Debug for ProducerDecision
impl Debug for ProducerDecision
impl Eq for ProducerDecision
Source§impl PartialEq for ProducerDecision
impl PartialEq for ProducerDecision
impl StructuralPartialEq for ProducerDecision
Auto Trait Implementations§
impl Freeze for ProducerDecision
impl RefUnwindSafe for ProducerDecision
impl Send for ProducerDecision
impl Sync for ProducerDecision
impl Unpin for ProducerDecision
impl UnsafeUnpin for ProducerDecision
impl UnwindSafe for ProducerDecision
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