Enum cli_opt::SealingMode
source · pub enum SealingMode {
Instant,
Manual,
Interval,
}
Expand description
Block authoring sealing scheme to be used by the dev service.
Variants§
Instant
Author a block immediately upon receiving a transaction into the transaction pool
Manual
Author a block upon receiving an RPC command
Interval
Author blocks at a regular interval specified in seconds
Trait Implementations§
source§impl Clone for SealingMode
impl Clone for SealingMode
source§fn clone(&self) -> SealingMode
fn clone(&self) -> SealingMode
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 SealingMode
impl Debug for SealingMode
source§impl Display for SealingMode
impl Display for SealingMode
source§impl Ord for SealingMode
impl Ord for SealingMode
source§fn cmp(&self, other: &SealingMode) -> Ordering
fn cmp(&self, other: &SealingMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SealingMode
impl PartialEq for SealingMode
source§fn eq(&self, other: &SealingMode) -> bool
fn eq(&self, other: &SealingMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SealingMode
impl PartialOrd for SealingMode
source§fn partial_cmp(&self, other: &SealingMode) -> Option<Ordering>
fn partial_cmp(&self, other: &SealingMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl ValueEnum for SealingMode
impl ValueEnum for SealingMode
impl Copy for SealingMode
impl Eq for SealingMode
impl StructuralEq for SealingMode
impl StructuralPartialEq for SealingMode
Auto Trait Implementations§
impl RefUnwindSafe for SealingMode
impl Send for SealingMode
impl Sync for SealingMode
impl Unpin for SealingMode
impl UnwindSafe for SealingMode
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