diff --git a/testing-framework/core/src/scenario/runtime/context.rs b/testing-framework/core/src/scenario/runtime/context.rs index a136fb4..9e40486 100644 --- a/testing-framework/core/src/scenario/runtime/context.rs +++ b/testing-framework/core/src/scenario/runtime/context.rs @@ -24,6 +24,7 @@ pub struct RunContext { impl RunContext { /// Builds a run context from prepared deployment/runtime artifacts. #[must_use] + #[doc(hidden)] pub fn new( descriptors: E::Deployment, node_clients: NodeClients, @@ -48,6 +49,7 @@ impl RunContext { } #[must_use] + #[doc(hidden)] pub fn with_cluster_wait(mut self, cluster_wait: Arc>) -> Self { self.cluster_wait = Some(cluster_wait); self @@ -137,6 +139,7 @@ impl Drop for RunHandle { impl RunHandle { #[must_use] /// Build a handle from owned context and optional cleanup guard. + #[doc(hidden)] pub fn new(context: RunContext, cleanup_guard: Option>) -> Self { Self { run_context: Arc::new(context), diff --git a/testing-framework/core/src/scenario/runtime/runner.rs b/testing-framework/core/src/scenario/runtime/runner.rs index 16c9002..d9e3f5e 100644 --- a/testing-framework/core/src/scenario/runtime/runner.rs +++ b/testing-framework/core/src/scenario/runtime/runner.rs @@ -36,6 +36,7 @@ impl Drop for Runner { impl Runner { /// Construct a runner from the run context and optional cleanup guard. #[must_use] + #[doc(hidden)] pub fn new(context: RunContext, cleanup_guard: Option>) -> Self { Self { context: Arc::new(context),