pub enum Quorum {
All,
One,
N(NonZeroUsize),
}
Expand description
Quorum.
Quorum defines how many peers must be successfully contacted in order for the query to be considered successful.
Variants§
All
All peers must be successfully contacted.
One
One peer must be successfully contacted.
N(NonZeroUsize)
N
peer must be successfully contacted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Quorum
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)