Expand description
Header field types and output traits shared by every protocol module.
Headerpairs a parsed authentication header with its raw name and value (RFC 5322 Section 2.2).HeaderWriteris implemented by every header this crate generates (DKIM-Signature,ARC-Sealand friends,DKIM2-Signature,Message-Instance,Authentication-Results,Received-SPF).WriterandWritableare the byte sink and source used for header output, canonicalization and hashing.HeaderFolderfolds long header lines (RFC 5322 Section 2.2.3).
Structs§
- Header
- An authentication header found in a message, as returned by
AuthenticatedMessageaccessors such asdkim_signatures()anderrors(). - Header
Folder - A
Writeradapter that folds header lines (RFC 5322 Section 2.2.3).
Traits§
- Header
Writer - A header that can be written to a message.
- Writable
- A source of bytes that can be streamed into a
Writer. - Writer
- A byte sink: a buffer, a hash context or a
HeaderFolder.