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)Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Quorumimpl UnwindSafe for QuorumBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V