mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-02-18 20:23:06 +00:00
* Unify local node control and restart support * Add local stop-node support * Use node names for restart/stop control * merge --------- Co-authored-by: hansieodendaal <hansie.odendaal@gmail.com>
16 lines
451 B
Rust
16 lines
451 B
Rust
use async_trait::async_trait;
|
|
|
|
use crate::scenario::{DynError, NodeControlHandle, StartNodeOptions, StartedNode};
|
|
|
|
/// Interface for imperative, deployer-backed manual clusters.
|
|
#[async_trait]
|
|
pub trait ManualClusterHandle: NodeControlHandle {
|
|
async fn start_node_with(
|
|
&self,
|
|
name: &str,
|
|
options: StartNodeOptions,
|
|
) -> Result<StartedNode, DynError>;
|
|
|
|
async fn wait_network_ready(&self) -> Result<(), DynError>;
|
|
}
|