Skip to main content

RuntimeDiagnosticsDataProvider

Trait RuntimeDiagnosticsDataProvider 

Source
pub trait RuntimeDiagnosticsDataProvider: Send + Sync {
    // Required method
    fn snapshot(&self) -> RuntimeDiagnosticsInputs;
}
Expand description

Bounded, synchronous access to diagnostics owned by the business component.

Implementations must read in-memory state without disk/network I/O, waiting for business completion, or unbounded scans. Retained data must not keep write authority alive after component shutdown. V2 keeps its existing convention: an empty schedule vector is omitted, including when it represents known zero.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§