pub fn check_message_syntax(
segments: &[OwnedSegment],
mig: &MigSchema,
settings: SyntaxSettings,
accepted: &AcceptedCodes,
) -> Vec<SyntaxFinding>Expand description
Check one message against mig.
segments are the message’s segments as the assembler takes them for
mig (MessageChunk::segments_for_mig): UNH…UNT, with the envelope
before them where the MIG covers it. Only UNH…UNT is judged.