#[non_exhaustive]pub enum VectorMutationConsistency {
PartitionAtomic,
IndexRevisionCas,
}Expand description
Strongest mutation ordering contract exposed by one vector backend.
IndexRevisionCas means the backend compares the expected global index
revision and publishes the partition mutation at the same linearization
point. Callers can therefore reject a delayed writer instead of replacing
a newer index generation.
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.
PartitionAtomic
Partition replacement is atomic, but independently prepared writers are not ordered against one another.
IndexRevisionCas
Partition mutations can be conditioned on the global index revision.
Trait Implementations§
Source§impl Clone for VectorMutationConsistency
impl Clone for VectorMutationConsistency
Source§fn clone(&self) -> VectorMutationConsistency
fn clone(&self) -> VectorMutationConsistency
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 VectorMutationConsistency
Source§impl Debug for VectorMutationConsistency
impl Debug for VectorMutationConsistency
Source§impl Default for VectorMutationConsistency
impl Default for VectorMutationConsistency
Source§fn default() -> VectorMutationConsistency
fn default() -> VectorMutationConsistency
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VectorMutationConsistency
impl<'de> Deserialize<'de> for VectorMutationConsistency
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
impl Eq for VectorMutationConsistency
impl StructuralPartialEq for VectorMutationConsistency
Auto Trait Implementations§
impl Freeze for VectorMutationConsistency
impl RefUnwindSafe for VectorMutationConsistency
impl Send for VectorMutationConsistency
impl Sync for VectorMutationConsistency
impl Unpin for VectorMutationConsistency
impl UnsafeUnpin for VectorMutationConsistency
impl UnwindSafe for VectorMutationConsistency
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