Skip to main content

Module derive

Module derive 

Source
Expand description

KeySpecifier derive-deftly macro and its support code

§STABILITY - NOTHING IN THIS MODULE IS PART OF THE STABLE PUBLIC API

The pub items in this module are accessible as $crate::key_specifier_derive, but #[doc(hidden)] is applied at the top level.

(Recall that the actual derive-deftly macro KeySpecifier ends up in the crate toplevel, so that does form part of our public API.)

Re-exports§

pub use crate::KeyPathInfoBuilder;
pub use derive_deftly_template_KeySpecifier;
pub use derive_deftly_template_CertSpecifier;

Macros§

internal
Create an internal error, including a message like format!, and capturing this call site
into_internal
Helper for converting an error into an internal error

Structs§

Bug
Programming error (a bug)

Enums§

RawComponentParseResult
Error returned from RawKeySpecifierComponentParser::parse

Traits§

RawKeySpecifierComponent
Trait for (only) formatting as a KeySpecifierComponent
RawKeySpecifierComponentParser
Trait for parsing a path component, used by parse_arti_path

Functions§

arti_path_from_components
Make an ArtiPath like pc/pc/pc/lc_lc_lc
arti_path_string_from_components 🔒
Make a string like pc/pc/pc/lc_lc_lc
arti_pattern_from_components
Make a KeyPathPattern::Arti like pc/pc/pc/lc_lc_lc
cert_arti_path_string_from_components 🔒
Make a string like pc/pc/pc/pd+pd+pd@cd+cd+cd+cd
cert_arti_pattern_from_components
Make a KeyPathPattern::Arti for a certificate specifier
describe_via_components
Build a KeyPathInfo given the information about a key specifier
extract 🔒
Split a string into components and parse each one
parse_arti_path
Parse a KeyPath as an ArtiPath like pc/pc/pc/lc_lc_lc
parse_cert_denotators
Parse the denotators from the ArtiPath of a certificate.

Type Aliases§

Parsers 🔒
List of parsers for fields