Available on crate feature
hs-service
only.Expand description
Building support for the network document meta-format
Implements building 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.
Macros§
- impl_
item_ 🔒argument_ as_ display - Implement
ItemArgument
for$ty
in terms of<$ty as Display>
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§
- Item
Argument 🔒 - Types that can be added as argument(s) to item keyword lines
- Netdoc
Builder - A trait for building and signing netdocs.