Skip to main content

Module plain

Module plain 

Source
Expand description

Implementation for the style of router status entries used in old-style “ns” consensus documents.

Re-exports§

pub(crate) use crate::doc::routerdesc::DOC_DIGEST_LEN; 🔒
pub(crate) use crate::doc::routerdesc::RdDigest as DocDigest; 🔒
use super::*; 🔒

Modules§

each_flavor 🔒
router status entries - items that vary by consensus flavor
each_variety 🔒
router status entries - items for all varieties, that vary

Macros§

ns_choose 🔒
ns_const_name 🔒
ns_expr 🔒
ns_ty_name 🔒
ns_type 🔒
ns_use_this_variety 🔒

Structs§

RouterStatus
A single relay’s status, in a network status document.
RouterStatusConstructor
Constructor (required fields) for RouterStatus
RouterStatusIntroItem
Intro item for a router status entry
RouterStatusIntroItemConstructor
Constructor (required fields) for RouterStatusIntroItem

Constants§

FLAVOR 🔒
The flavor

Type Aliases§

DocDigestB64
Type of the referenced document digest in form suitable for parsing and encoding