pub enum ConsensusState {
Propose,
Prevote,
Precommit,
Commit,
}
Expand description
Tendermint consensus state
Variants§
Trait Implementations§
Source§impl Clone for ConsensusState
impl Clone for ConsensusState
Source§fn clone(&self) -> ConsensusState
fn clone(&self) -> ConsensusState
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 ConsensusState
impl Debug for ConsensusState
Source§impl PartialEq for ConsensusState
impl PartialEq for ConsensusState
impl StructuralPartialEq for ConsensusState
Auto Trait Implementations§
impl Freeze for ConsensusState
impl RefUnwindSafe for ConsensusState
impl Send for ConsensusState
impl Sync for ConsensusState
impl Unpin for ConsensusState
impl UnwindSafe for ConsensusState
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