pub trait TraceLog: Serialize + for<'de> Deserialize<'de> {
// Required methods
fn store_trace_file(
self,
filename: &'static str,
) -> Result<(), Box<dyn Error>>;
fn get_trace(filename: &'static str) -> Result<Self, Box<dyn Error>>;
}Required Methods§
fn store_trace_file(self, filename: &'static str) -> Result<(), Box<dyn Error>>
fn get_trace(filename: &'static str) -> Result<Self, Box<dyn Error>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.