Expand description
The KeySpecifier trait and its implementations.
Re-exportsΒ§
use std::collections::BTreeMap;πuse std::fmt;πuse std::fmt::Debug;πuse std::fmt::Debug;πuse std::fmt::Display;πuse std::ops::Range;πuse std::result::Result as StdResult;πuse std::str::FromStr;πuse derive_more::From;πuse safelog::DisplayRedacted as _;πuse thiserror::Error;πuse tor_error::Bug;πuse tor_error::internal;πuse tor_error::into_internal;πuse tor_hscrypto::pk::HSID_ONION_SUFFIX;πuse tor_hscrypto::pk::HsId;πuse tor_hscrypto::pk::HsIdParseError;πuse tor_hscrypto::time::TimePeriod;πuse tor_persist::hsnickname::HsNickname;πuse tor_persist::slug::Slug;πuse crate::ArtiPath;πuse crate::ArtiPathSyntaxError;π
ModulesΒ§
- derive
KeySpecifierderive-deftly macro and its support code
StructsΒ§
- Arti
Path Range - A range specifying a substring of a
KeyPath. - KeyPath
Info - Information about a
KeyPath. - KeyPath
Info Builder - Builder for
KeyPathInfo. - KeySpecifier
Component πPretty Helper - Wrapper for
KeySpecifierComponentthatDisplaysviafmt_pretty
EnumsΒ§
- Arti
Path Error - An error while attempting to extract information from an
ArtiPath. - Arti
Path Unavailable Error - An error returned by a
KeySpecifier. - CTor
Path - The path of a key in the C Tor key store.
- CTor
Path Error - An error while attempting to convert a
CTorPathto its corresponding key specifier type. - Invalid
KeyPath Component Value - Error to be returned by
KeySpecifierComponent::from_slugimplementations - KeyPath
- The identifier of a key.
- KeyPath
Error - An error while attempting to extract information about a key given its path
- KeyPath
Info Builder Error - Error type for KeyPathInfoBuilder
- KeyPath
Pattern - A pattern that can be used to match
ArtiPaths orCTorPaths.
TraitsΒ§
- CTor
KeySpecifier - A trait for converting key specifiers to and from
CTorPath. - Cert
Specifier Pattern - A pattern specifying some or all of a kind of certificate
- KeyCertificate
Specifier - The βspecifierβ of a key certificate, which identifies an instance of a cert, as well as its signing and subject keys.
- KeyPath
Info Extractor - A trait for extracting info out of a
KeyPaths. - KeySpecifier
- The βspecifierβ of a key, which identifies an instance of a key.
- KeySpecifier
Component - A trait for serializing and deserializing specific types of
Slugs. - KeySpecifier
Component ViaDisplay From Str - Implement
KeySpecifierComponentin terms ofDisplayandFromStr(helper trait) - KeySpecifier
Pattern - A pattern specifying some or all of a kind of key