[−][src]Type Definition mail_headers::map::HeaderMapValidator
type HeaderMapValidator = fn(_: &HeaderMap) -> Result<(), HeaderValidationError>;
The type of an validator used to check more complex header contraints.
An example constraint would be if a From
header field contains more than
one mailbox a Sender
header field is required to be present.