Skip to main content

record

Function record 

Source
pub fn record(
    name: &str,
    inputs: &RepeatInputs<'_>,
    report: &RepeatReport,
    recorded_at_ms: i64,
) -> Result<Baseline, BaselineError>
Expand description

Record a baseline of report (3.8). Every binding is verified against the documents supplied: the repeat set is assembled again from inputs and must equal the report, apart from a held-out count, which only the host’s ledger can state and which is copied as recorded.