mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-02 13:23:13 +00:00
9 lines
292 B
Rust
9 lines
292 B
Rust
use async_trait::async_trait;
|
|
use testing_framework_core::scenario::DynError;
|
|
|
|
#[async_trait]
|
|
pub trait NodeControlHandle: Send + Sync {
|
|
async fn restart_validator(&self, index: usize) -> Result<(), DynError>;
|
|
async fn restart_executor(&self, index: usize) -> Result<(), DynError>;
|
|
}
|