Skip to main content

trace_exists

Function trace_exists 

Source
pub fn trace_exists(
    db_path: impl AsRef<Path>,
    trace_id: &str,
) -> Result<bool, StoreError>
Expand description

Whether a trace with trace_id exists — used to reject feedback for unknown traces.

§Errors

Returns StoreError::Sqlite on a database error.