pub enum ExecutionKind {
Production,
Validation,
}Expand description
The kind of execution.
Variants
Production
Producing a block.
Validation
Validating a block.
Implementations
sourceimpl ExecutionKind
impl ExecutionKind
sourcepub fn wrap<T>(self, t: T) -> ExecutionType<T>
pub fn wrap<T>(self, t: T) -> ExecutionType<T>
Wrap a type in this execution kind.
Trait Implementations
sourceimpl Clone for ExecutionKind
impl Clone for ExecutionKind
sourcefn clone(&self) -> ExecutionKind
fn clone(&self) -> ExecutionKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ExecutionKind
impl Debug for ExecutionKind
impl Copy for ExecutionKind
Auto Trait Implementations
impl RefUnwindSafe for ExecutionKind
impl Send for ExecutionKind
impl Sync for ExecutionKind
impl Unpin for ExecutionKind
impl UnwindSafe for ExecutionKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more