Enum openethereum::ExecutionAction
source · [−]pub enum ExecutionAction {
Instant(Option<String>),
Running(RunningClient),
}
Expand description
Action that OpenEthereum performed when running start
.
Variants
Instant(Option<String>)
The execution didn’t require starting a node, and thus has finished. Contains the string to print on stdout, if any.
Running(RunningClient)
The client has started running and must be shut down manually by calling shutdown
.
If you don’t call shutdown()
, execution will continue in the background.
Auto Trait Implementations
impl !RefUnwindSafe for ExecutionAction
impl !Send for ExecutionAction
impl !Sync for ExecutionAction
impl Unpin for ExecutionAction
impl !UnwindSafe for ExecutionAction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more