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
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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
Checks if this value is equivalent to the given key. Read more
§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.