pub enum ReadConsistency {
Factor(u64),
Majority,
Quorum,
All,
}Expand description
Read consistency for Qdrant point reads.
OpenAPI ReadConsistency / proto ReadConsistency: either a replica
factor N, or a named mode (majority / quorum / all).
REST: query param on /points/query etc. gRPC: read_consistency field.
Variants§
Factor(u64)
Send requests to N nodes; keep points present on all of them.
Majority
N/2+1 random requests; points present on all of them.
Quorum
All nodes; points present on a majority.
All
All nodes; points present on all of them.
Trait Implementations§
Source§impl Clone for ReadConsistency
impl Clone for ReadConsistency
Source§fn clone(&self) -> ReadConsistency
fn clone(&self) -> ReadConsistency
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 ReadConsistency
impl Debug for ReadConsistency
Source§impl PartialEq for ReadConsistency
impl PartialEq for ReadConsistency
impl StructuralPartialEq for ReadConsistency
Auto Trait Implementations§
impl Freeze for ReadConsistency
impl RefUnwindSafe for ReadConsistency
impl Send for ReadConsistency
impl Sync for ReadConsistency
impl Unpin for ReadConsistency
impl UnsafeUnpin for ReadConsistency
impl UnwindSafe for ReadConsistency
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