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§
- RawComponent
Parse Result - Error returned from
RawKeySpecifierComponentParser::parse
Traits§
- RawKey
Specifier Component - Trait for (only) formatting as a
KeySpecifierComponent - RawKey
Specifier Component Parser - Trait for parsing a path component, used by
parse_arti_path
Functions§
- arti_
path_ from_ components - Make an
ArtiPathlikepc/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::Artilikepc/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::Artifor a certificate specifier - describe_
via_ components - Build a
KeyPathInfogiven the information about a key specifier - extract 🔒
- Split a string into components and parse each one
- parse_
arti_ path - Parse a
KeyPathas anArtiPathlike pc/pc/pc/lc_lc_lc - parse_
cert_ denotators - Parse the denotators from the
ArtiPathof a certificate.
Type Aliases§
- Parsers 🔒
- List of parsers for fields