mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-03-31 08:13:48 +00:00
Trim runner-only state from run context API
This commit is contained in:
parent
8e6604d232
commit
a14d616ee6
@ -97,22 +97,17 @@ impl<E: Application> RunContext<E> {
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub const fn expectation_cooldown(&self) -> Duration {
|
||||
pub(crate) const fn expectation_cooldown(&self) -> Duration {
|
||||
self.expectation_cooldown
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub const fn run_metrics(&self) -> RunMetrics {
|
||||
self.metrics
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn node_control(&self) -> Option<Arc<dyn NodeControlHandle<E>>> {
|
||||
self.node_control.clone()
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub const fn controls_nodes(&self) -> bool {
|
||||
pub(crate) const fn controls_nodes(&self) -> bool {
|
||||
self.node_control.is_some()
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user