Module derive

Source
Expand description

KeySpecifier derive-adhoc 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-adhoc macro KeySpecifier ends up in the crate toplevel, so that does form part of our public API.)

Re-exports§

pub use crate::KeyPathInfoBuilder;

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_key_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
describe_via_components
Build a KeyPathInfo given the information about a key specifier
parse_key_path
Parse a KeyPath as an ArtiPath like pc/pc/pc/lc_lc_lc

Type Aliases§

Parsers 🔒
List of parsers for fields