Skip to main content

Module evidence

Module evidence 

Source
Expand description

Evidence types — the breadcrumbs a diagnosis emits to justify itself.

Every crate::report::Diagnosis carries a Vec<Evidence>. Each Evidence is one short human-readable observation paired with an optional Pointer to the source the observation came from (a request field, a response header, a specific log line). The CLI’s explain subcommand surfaces the pointers so a support engineer can audit a diagnosis line by line.

Keeping evidence and pointers as plain owned strings (no borrowed slices, no Cow) makes crate::report::Report cheap to clone, Send + Sync, and trivially serialisable as JSON.

Structs§

Evidence
One observation that supports a diagnosis.
Pointer
Reference to the source of an Evidence.