Enum libp2p_kad::Quorum [−][src]
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
N(NonZeroUsize)
Tuple Fields of N
0: NonZeroUsize
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Quorum
impl UnwindSafe for Quorum
Blanket Implementations
Mutably borrows from an owned value. Read more