pub trait QuorumLikeConfig: Sized {
// Required methods
fn quorum_type(&self) -> QuorumType;
fn quorum_size(&self) -> u16;
fn quorum_window(&self) -> u32;
fn quorum_active_signers(&self) -> u16;
fn quorum_rotation(&self) -> bool;
}Expand description
A config suitable for a quorum configuration
Required Methods§
Sourcefn quorum_type(&self) -> QuorumType
fn quorum_type(&self) -> QuorumType
Quorum type
Sourcefn quorum_size(&self) -> u16
fn quorum_size(&self) -> u16
Quorum size
Sourcefn quorum_window(&self) -> u32
fn quorum_window(&self) -> u32
Quorum DKG interval
Sourcefn quorum_active_signers(&self) -> u16
fn quorum_active_signers(&self) -> u16
Quorum active signers count
Sourcefn quorum_rotation(&self) -> bool
fn quorum_rotation(&self) -> bool
Quorum rotation (dip24) or classic
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.