Expand description
Support for encoding the network document meta-format
Implements writing documents according to dir-spec.txt. section 1.2 and 1.3.
This facility processes output that complies with the meta-document format,
(dir-spec.txt section 1.2) -
unless raw methods are called with improper input.
However, no checks are done on keyword presence/absence, multiplicity, or ordering,
so the output may not necessarily conform to the format of the particular intended document.
It is the caller’s responsibility to call .item() in the right order,
with the right keywords and arguments.
Modules§
- derive 🔒
- Deriving
NetdocEncodable - impls 🔒
- Implementations of our useful traits, on external and parsing-mode types
- multiplicity 🔒
- Multiplicity for encoding netdoc elements, via ad-hoc deref specialisation.
Macros§
- item_
value_ 🔒encodable_ for_ tuple - implement
ItemValueEncodablefor a particular tuple size
Structs§
- Cursor
- Position within a (perhaps partially-) built document
- Item
Encoder - Encoder for an individual item within a being-built document
- Netdoc
Encoder - Encoder, representing a partially-built document.
Traits§
- Encode
Ord - Ordering, to be used when encoding network documents
- Item
Argument - Types that can be added as argument(s) to item keyword lines
- Item
Object Encodable - An Object value that be encoded into a netdoc
- Item
Value Encodable - Items that can be encoded in network documents
- Netdoc
Builder - Builders for network documents.
- Netdoc
Encodable - Documents (or sub-documents) that can be encoded in the netdoc metaformat
- Netdoc
Encodable Fields - Collections of fields that can be encoded in the netdoc metaformat