Module md

Module md 

Source
Available on crate feature parse2 only.
Expand description

network status documents - types that vary by flavour

This file is reincluded multiple times, once for each consensus flavour, and once for votes.

Each time, with different behaviour for the macros ns_***.

Thus, this file generates (for example) all three of: ns::NetworkStatus aka NetworkStatusNs, NetworkStatusMd and NetworkStatusVote.

(We treat votes as a “flavour”.)

Structs§

NdaNetworkStatusVersionFlavour
network-status-version flavour value
NdaVoteStatus
vote-status status argument (for a specific flavour)
NddAuthorityEntry
Authority Key Entry (in a network status document)
NddAuthoritySection
An authority section in a consensus
NddDirectoryFooter
directory-footer section
NdiAuthorityDirSource
dir-source
NdiVoteStatus
vote-status value
NdiVotingDelay
voting-delay value
NetworkStatus
Network status document (vote, consensus, or microdescriptor consensus) - body
NetworkStatusSignatures
Signatures on a network status document
NetworkStatusSigned
Signed (unverified) form of NetworkStatus
Router
Router entry in a network status

Enums§

NddAuthorityEntryOrSuperseded
An element of an authority section in a consensus