pub enum SingleRingProducerV1 {
Single,
Mpmc,
}Expand description
Producer model requested for a SingleRing pipeline.
v1 supports only single-producer publishing into the ring.
Variants§
Single
Single producer publishes cursor monotonically.
Mpmc
Multi-producer CAS claiming into one ring (explicit v1 non-goal).
Trait Implementations§
Source§impl Clone for SingleRingProducerV1
impl Clone for SingleRingProducerV1
Source§fn clone(&self) -> SingleRingProducerV1
fn clone(&self) -> SingleRingProducerV1
Returns a duplicate 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 SingleRingProducerV1
impl Debug for SingleRingProducerV1
Source§impl<'de> Deserialize<'de> for SingleRingProducerV1
impl<'de> Deserialize<'de> for SingleRingProducerV1
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 SingleRingProducerV1
impl PartialEq for SingleRingProducerV1
Source§impl Serialize for SingleRingProducerV1
impl Serialize for SingleRingProducerV1
impl Copy for SingleRingProducerV1
impl Eq for SingleRingProducerV1
impl StructuralPartialEq for SingleRingProducerV1
Auto Trait Implementations§
impl Freeze for SingleRingProducerV1
impl RefUnwindSafe for SingleRingProducerV1
impl Send for SingleRingProducerV1
impl Sync for SingleRingProducerV1
impl Unpin for SingleRingProducerV1
impl UnwindSafe for SingleRingProducerV1
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