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 PartialEq for EndProposingReason
impl PartialEq for EndProposingReason
source§fn eq(&self, other: &EndProposingReason) -> bool
fn eq(&self, other: &EndProposingReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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