Module types

Module types 

Source
Expand description

Various types that can occur in parsed network documents.

Some of the types are parsing adapters: transparent newtypes that can be used for type-driven parsing in netdocs. These are needed (rather than using the underlying value type) in cases where network documents have different syntaxes for the same thing.

NOTE: Several of these modules may eventually move elsewhere, or become their own crates.

Modules§

family
Implements the relay ‘family’ type.
policy
Exit policies: match patterns of addresses and/or ports.
version
Parsing and comparison for Tor versions

Structs§

Fingerprint
A hex-encoded fingerprint with no spaces.
Nickname
The nickname for a Tor relay.