Skip to main content

SaveResult

Trait SaveResult 

Source
pub trait SaveResult: Send + Sync {
    // Required method
    fn save(&self, result: &TestResult) -> Result<(), Error>;
}
Expand description

Trait for persisting a single test result. Implementations may be file‑based, cloud‑based, etc.

Required Methods§

Source

fn save(&self, result: &TestResult) -> Result<(), Error>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§