pub fn parse_envelope(
envelope: ClientEnvelope,
) -> Result<ParsedEnvelope, ValidationError>Expand description
Decode one envelope, derive its topic, and compute canonical retry bytes.
This is the routing phase. It performs the payload-specific decoding needed
to find a topic, but leaves key-package and identity admission to
validate_envelope. A malformed envelope returns before any verifier call.