#[repr(u32)]pub enum ConsensusAlgorithm {
HeaviestBundle = 0,
Majority = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for ConsensusAlgorithm
impl Clone for ConsensusAlgorithm
Source§fn clone(&self) -> ConsensusAlgorithm
fn clone(&self) -> ConsensusAlgorithm
Returns a duplicate 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 moreSource§impl Debug for ConsensusAlgorithm
impl Debug for ConsensusAlgorithm
Source§impl PartialEq for ConsensusAlgorithm
impl PartialEq for ConsensusAlgorithm
impl Copy for ConsensusAlgorithm
impl Eq for ConsensusAlgorithm
impl StructuralPartialEq for ConsensusAlgorithm
Auto Trait Implementations§
impl Freeze for ConsensusAlgorithm
impl RefUnwindSafe for ConsensusAlgorithm
impl Send for ConsensusAlgorithm
impl Sync for ConsensusAlgorithm
impl Unpin for ConsensusAlgorithm
impl UnwindSafe for ConsensusAlgorithm
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