pub trait TraceStore: Send + Sync {
// Required methods
fn read(&self, key: &str) -> Option<Value>;
fn write(&self, key: &str, document: &Value) -> Result<(), String>;
}Expand description
Where frame traces live (FrameTraceStore): one document per key, replaced whole.
Required Methods§
fn read(&self, key: &str) -> Option<Value>
fn write(&self, key: &str, document: &Value) -> Result<(), String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".