Skip to main content

Module archive

Module archive 

Available on crate features std and ua only.
Expand description

Portable retained evidence. Stored analysis is diagnostic; imports reanalyze the evidence under the caller’s authorization partition and freshness window.

Structs§

CompiledProfileArchiveEntry
A compiled entry retains the evidence needed to reproduce its analysis.
ProfileArchiveEntry
ProfileArchiveLimits
ProfileArchiveWriter
Writes one validated profile at a time. Each operation consumes the writer, so failed output cannot subsequently be finished. Callers stage the output and publish it only after finish succeeds.

Functions§

load_profile_archive
Load a complete versioned archive. No entry is returned after a validation failure, and serialized derived rules never grant capabilities on import.
load_profile_archive_snapshot
Load an export exactly as it was on the day it was made, so offline and embedded profiles don’t change over time. To judge how fresh live data is, use load_profile_archive with today’s date instead.
load_recorded_profile_archive_snapshot
load_profile_archive_snapshot under the partition the archive itself records, so authorized and public exports both load; an archive mixing partitions is invalid.