pub fn load_tenant_traces(
db_path: impl AsRef<Path>,
tenant: &str,
) -> Result<Vec<Trace>, StoreError>Expand description
Tenant-scoped read: only traces owned by tenant, in seq order (ADR 0004 §D3). Tenant A
can never see tenant B’s traces through this path.
§Errors
Returns StoreError::Sqlite on a database error, or StoreError::Json if a stored
row is not valid trace JSON.