Skip to main content

Module misc

Module misc 

Source
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_BytesTransparent 🔒
Implement ConstantTimeEq, .as_bytes(), etc., for a transparent newtype around bytes
derive_deftly_template_Transparent 🔒
Implement conversion traits for an arbitrary transparent newtype

Structs§

RetainedOrderVec
A sequence of T items, with their order retained

Enums§

KeywordOrString
Known keyword (enum) value, or arbitrary string
Unknown
Information about unknown values, which may have been retained as a T

Traits§

FromBytes 🔒
Describes a value that van be decoded from a bunch of bytes.