pub enum EndProposingReason {
    NoMoreTransactions,
    HitDeadline,
    HitBlockSizeLimit,
    HitBlockWeightLimit,
    TransactionForbidden,
}Expand description
The reason why proposing a block ended.
Variants§
NoMoreTransactions
HitDeadline
HitBlockSizeLimit
HitBlockWeightLimit
TransactionForbidden
No transactions are allowed in the block.
Trait Implementations§
Source§impl Clone for EndProposingReason
 
impl Clone for EndProposingReason
Source§fn clone(&self) -> EndProposingReason
 
fn clone(&self) -> EndProposingReason
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 moreSource§impl Debug for EndProposingReason
 
impl Debug for EndProposingReason
Source§impl PartialEq for EndProposingReason
 
impl PartialEq for EndProposingReason
impl Copy for EndProposingReason
impl Eq for EndProposingReason
impl StructuralPartialEq for EndProposingReason
Auto Trait Implementations§
impl Freeze for EndProposingReason
impl RefUnwindSafe for EndProposingReason
impl Send for EndProposingReason
impl Sync for EndProposingReason
impl Unpin for EndProposingReason
impl UnwindSafe for EndProposingReason
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.