Expand description
Types used to parse arguments of entries in a directory document.
There are some types that are pretty common, like “ISOTime”, “base64-encoded data”, and so on.
These types shouldn’t be exposed outside of the netdoc crate.
Re-exports§
pub use nickname::InvalidNickname;pub use nickname::Nickname;pub use boolean::NumericBoolean;pub use fingerprint::Base64Fingerprint;pub use fingerprint::Fingerprint;pub use identified_digest::DigestName;pub use identified_digest::IdentifiedDigest;pub use ignored_impl::Ignored;pub use ignored_impl::IgnoredItemOrObjectValue;pub use ignored_impl::NotPresent;pub use b16impl::*;pub use b64impl::*;pub use contact_info::*;pub use curve25519impl::*;pub use ed25519impl::*;pub use fingerprint::*;pub use hostname::*;pub use rsa::*;pub use timeimpl::*;
Modules§
- b16impl 🔒
- Types for decoding hex-encoded values.
- b64impl 🔒
- Types for decoding base64-encoded values.
- boolean 🔒
- Types for boolean-like types.
- contact_
info 🔒 - Contact information of the relay operator.
- curve25519impl 🔒
- Types for decoding curve25519 keys
- ed25519impl 🔒
- Types for decoding ed25519 keys
- edcert 🔒
- Types for decoding Ed25519 certificates
- fingerprint 🔒
- Types for decoding RSA fingerprints
- hostname 🔒
- Hostnames etc.
- identified_
digest 🔒 - Digest identifiers, and digests in the form
ALGORITHM=BASE64U - ignored_
impl 🔒 - Dummy types like
Ignored - nickname 🔒
- A type for relay nicknames
- routerdesc
- Types for router descriptors.
- rsa 🔒
- Types for decoding RSA keys
- timeimpl 🔒
- Types for decoding times and dates
Macros§
- derive_
deftly_ 🔒module_ Transparent - Implement conversion traits for a transparent newtype around bytes - shared code
- derive_
deftly_ 🔒template_ Bytes Transparent - Implement
ConstantTimeEq,.as_bytes(), etc., for a transparent newtype around bytes - derive_
deftly_ 🔒template_ Transparent - Implement conversion traits for an arbitrary transparent newtype
Structs§
- Retained
Order Vec - A sequence of
Titems, with their order retained
Enums§
- Keyword
OrString - Known keyword (enum) value, or arbitrary string
- Unknown
- Information about unknown values, which may have been retained as a
T
Traits§
- From
Bytes 🔒 - Describes a value that van be decoded from a bunch of bytes.