pub enum Quorum {
One,
Majority,
All,
N(NonZeroUsize),
}
Expand description
A quorum w.r.t. the configured replication factor specifies the minimum number of distinct nodes that must be successfully contacted in order for a query to succeed.
Variants§
Trait Implementations§
source§impl PartialEq<Quorum> for Quorum
impl PartialEq<Quorum> for Quorum
impl Copy for Quorum
impl Eq for Quorum
impl StructuralEq for Quorum
impl StructuralPartialEq for Quorum
Auto Trait Implementations§
impl RefUnwindSafe for Quorum
impl Send for Quorum
impl Sync for Quorum
impl Unpin for Quorum
impl UnwindSafe for Quorum
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