Skip to main content

base_headers

Function base_headers 

Source
pub fn base_headers(envelope: &Envelope) -> FieldTable
Expand description

Headers carried by every published envelope.

x-attempt and x-deferrals mirror Envelope::attempt and Envelope::deferrals, so an operator can read both counters in the management UI without decoding the body. The body stays the source of truth: nothing in this crate reads these back.