pub struct FakeIsolationRuntime { /* private fields */ }Expand description
In-memory fake isolation runtime fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
Implementations§
Source§impl FakeIsolationRuntime
impl FakeIsolationRuntime
Sourcepub fn with_report(report: IsolationCapabilityReport) -> Self
pub fn with_report(report: IsolationCapabilityReport) -> Self
Returns this value with its report setting replaced. The method follows builder-style data construction and does not execute external work.
Sourcepub fn unsupported_host(
adapter_ref: impl Into<IsolationRuntimeRef>,
missing: impl IntoIterator<Item = impl Into<String>>,
) -> Self
pub fn unsupported_host( adapter_ref: impl Into<IsolationRuntimeRef>, missing: impl IntoIterator<Item = impl Into<String>>, ) -> Self
Builds the unsupported host value. This is data construction and performs no I/O, journal append, event publication, or process work.
Sourcepub fn host_process_only(adapter_ref: impl Into<IsolationRuntimeRef>) -> Self
pub fn host_process_only(adapter_ref: impl Into<IsolationRuntimeRef>) -> Self
Builds the host process only value. This is data construction and performs no I/O, journal append, event publication, or process work.
Sourcepub fn with_cleanup_status(self, cleanup_status: CleanupStatus) -> Self
pub fn with_cleanup_status(self, cleanup_status: CleanupStatus) -> Self
Returns this value with its cleanup status setting replaced. The method follows builder-style data construction and does not execute external work.
Sourcepub fn calls(&self) -> Vec<String>
pub fn calls(&self) -> Vec<String>
Operates on in-memory or journal-derived testing::isolation state for diagnostics and repair evidence. It does not create a second run loop or product workflow owner.
Sourcepub fn call_count(&self) -> usize
pub fn call_count(&self) -> usize
Returns the call count currently held by this value. This reads deterministic in-memory test state and performs no external I/O.
Sourcepub fn start_process_call_count(&self) -> usize
pub fn start_process_call_count(&self) -> usize
Start process call count. This reads the fake adapter call counter and does not start or signal a process.
Trait Implementations§
Source§impl Clone for FakeIsolationRuntime
impl Clone for FakeIsolationRuntime
Source§fn clone(&self) -> FakeIsolationRuntime
fn clone(&self) -> FakeIsolationRuntime
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more