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ยง
use std::iter;๐use derive_deftly::define_derive_deftly;๐use itertools::EitherOrBoth;๐use itertools::Itertools;๐use itertools::izip;๐use crate::DENOTATOR_SEP;๐pub use crate::KeyPathInfoBuilder;use RawComponentParseResult as RCPR;๐pub use derive_deftly_template_KeySpecifier;pub use derive_deftly_template_CertSpecifier;use super::*;๐
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