pub enum ConsensusEvalContext {
Genesis,
Bft,
Praos {
nonce: PraosNonce,
pool_creator: PoolId,
},
}
Expand description
Consensus related data extract from the header
Variants§
Trait Implementations§
source§impl Clone for ConsensusEvalContext
impl Clone for ConsensusEvalContext
source§fn clone(&self) -> ConsensusEvalContext
fn clone(&self) -> ConsensusEvalContext
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ConsensusEvalContext
impl Send for ConsensusEvalContext
impl Sync for ConsensusEvalContext
impl Unpin for ConsensusEvalContext
impl UnwindSafe for ConsensusEvalContext
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