pub struct SqliteStore { /* private fields */ }Implementations§
Source§impl SqliteStore
impl SqliteStore
pub fn open<P: AsRef<Path>>(path: P) -> Result<Self>
pub fn in_memory() -> Result<Self>
pub fn init(&self) -> Result<()>
pub fn save_result(&self, result: &NewProbeResult) -> Result<ProbeResult>
pub fn save_report( &self, target: &str, report: &TimingReport, ) -> Result<ProbeResult>
pub fn recent_results(&self, limit: usize) -> Result<Vec<ProbeResult>>
pub fn recent_results_for_target( &self, target: &str, limit: usize, ) -> Result<Vec<ProbeResult>>
pub fn recent_runs(&self, limit: usize) -> Result<Vec<ProbeResult>>
pub fn delete_results_for_target(&self, target: &str) -> Result<usize>
pub fn count_results_for_target(&self, target: &str) -> Result<usize>
pub fn latest_result_for_target( &self, target: &str, ) -> Result<Option<ProbeResult>>
pub fn latest_run_for_target(&self, target: &str) -> Result<Option<ProbeResult>>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for SqliteStore
impl !RefUnwindSafe for SqliteStore
impl !Sync for SqliteStore
impl !UnwindSafe for SqliteStore
impl Send for SqliteStore
impl Unpin for SqliteStore
impl UnsafeUnpin for SqliteStore
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more