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 Quorum
impl UnwindSafe for Quorum
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V