Skip to main content

TraceLog

Trait TraceLog 

Source
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§

Source

fn store_trace_file(self, filename: &'static str) -> Result<(), Box<dyn Error>>

Source

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.

Implementors§