Enum chain_impl_mockchain::header::Proof
source · pub enum Proof {
None,
Bft(BftProof),
GenesisPraos(GenesisPraosProof),
}
Variants§
None
In case there is no need for consensus layer and no need for proof of the block. This may apply to the genesis block for example.
Bft(BftProof)
GenesisPraos(GenesisPraosProof)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Proof
impl Send for Proof
impl Sync for Proof
impl Unpin for Proof
impl UnwindSafe for Proof
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