Module key_specifier

Source
Expand description

The KeySpecifier trait and its implementations.

Modules§

derive
KeySpecifier derive-adhoc macro and its support code

Structs§

ArtiPathRange
A range specifying a substring of a KeyPath.
KeyPathInfo
Information about a KeyPath.
KeyPathInfoBuilder
Builder for KeyPathInfo.
KeySpecifierComponentPrettyHelper 🔒
Wrapper for KeySpecifierComponent that Displays via fmt_pretty

Enums§

ArtiPathUnavailableError
An error returned by a KeySpecifier.
CTorPath
The path of a key in the C Tor key store.
CTorServicePath
The relative path in a C Tor key store.
InvalidKeyPathComponentValue
Error to be returned by KeySpecifierComponent::from_slug implementations
KeyPath
The identifier of a key.
KeyPathError
An error while attempting to extract information about a key given its path
KeyPathInfoBuilderError
Error type for KeyPathInfoBuilder
KeyPathPattern
A pattern that can be used to match ArtiPaths or CTorPaths.

Traits§

KeyCertificateSpecifier
The “specifier” of a key certificate, which identifies an instance of a cert, as well as its signing and subject keys.
KeyPathInfoExtractor
A trait for extracting info out of a KeyPaths.
KeySpecifier
The “specifier” of a key, which identifies an instance of a key.
KeySpecifierComponent
A trait for serializing and deserializing specific types of [Slug]s.
KeySpecifierComponentViaDisplayFromStr
Implement KeySpecifierComponent in terms of Display and FromStr (helper trait)
KeySpecifierPattern
A pattern specifying some or all of a kind of key