Skip to main content

build_diagnostic_bundle_full

Function build_diagnostic_bundle_full 

Source
pub fn build_diagnostic_bundle_full(
    har_json: &str,
    redaction_policy: BundleRedactionPolicy,
    classifier: &VendorClassifier,
    snap: Option<&NormalizedFingerprintSnapshot>,
) -> Result<DiagnosticBundle, BundleError>
Expand description

Build a DiagnosticBundle with a caller-supplied VendorClassifier and an optional snapshot::NormalizedFingerprintSnapshot.

This is the most general bundle constructor; every other builder delegates here.

ยงErrors

Returns BundleError::Har when the HAR payload is invalid.