pub enum ConsensusStatus {
Pending,
Approved,
Rejected,
TimedOut,
}Expand description
Consensus status
Variants§
Pending
Waiting for more approvals
Approved
Approved by threshold
Rejected
Rejected by threshold
TimedOut
Timed out
Trait Implementations§
Source§impl Clone for ConsensusStatus
impl Clone for ConsensusStatus
Source§fn clone(&self) -> ConsensusStatus
fn clone(&self) -> ConsensusStatus
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 ConsensusStatus
impl Debug for ConsensusStatus
Source§impl PartialEq for ConsensusStatus
impl PartialEq for ConsensusStatus
impl StructuralPartialEq for ConsensusStatus
Auto Trait Implementations§
impl Freeze for ConsensusStatus
impl RefUnwindSafe for ConsensusStatus
impl Send for ConsensusStatus
impl Sync for ConsensusStatus
impl Unpin for ConsensusStatus
impl UnwindSafe for ConsensusStatus
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