Skip to main content

LoadHistory

Trait LoadHistory 

Source
pub trait LoadHistory: Send + Sync {
    // Required methods
    fn load_recent(&self, limit: usize) -> Result<Vec<TestResult>, Error>;
    fn clear(&self) -> Result<(), Error>;
}
Expand description

Trait for reading historic results (optional). Not all storage backends need to implement this – e.g. a transient in‑memory store can choose to omit history support.

Required Methods§

Source

fn load_recent(&self, limit: usize) -> Result<Vec<TestResult>, Error>

Source

fn clear(&self) -> Result<(), Error>

Implementors§