Struct external_ip::ConsensusBuilder
source · pub struct ConsensusBuilder { /* private fields */ }
Expand description
Consensus builder
Implementations§
source§impl ConsensusBuilder
impl ConsensusBuilder
pub fn new() -> ConsensusBuilder
sourcepub fn add_sources<T>(self, source: T) -> ConsensusBuilder
pub fn add_sources<T>(self, source: T) -> ConsensusBuilder
pub fn policy(self, policy: Policy) -> ConsensusBuilder
pub fn family(self, family: Family) -> ConsensusBuilder
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConsensusBuilder
impl !RefUnwindSafe for ConsensusBuilder
impl !Send for ConsensusBuilder
impl !Sync for ConsensusBuilder
impl Unpin for ConsensusBuilder
impl !UnwindSafe for ConsensusBuilder
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