pub struct ConsensusEngine { /* private fields */ }Implementations§
Source§impl ConsensusEngine
impl ConsensusEngine
pub fn new( state: ConsensusState, store: SharedBlockStore, network: Box<dyn NetworkSink>, app: Box<dyn Application>, signer: Box<dyn Signer>, msg_rx: Receiver<(Option<ValidatorId>, ConsensusMessage)>, config: EngineConfig, ) -> Self
Auto Trait Implementations§
impl Freeze for ConsensusEngine
impl !RefUnwindSafe for ConsensusEngine
impl Send for ConsensusEngine
impl !Sync for ConsensusEngine
impl Unpin for ConsensusEngine
impl UnsafeUnpin for ConsensusEngine
impl !UnwindSafe for ConsensusEngine
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