Function check_key_specifier

Source
pub fn check_key_specifier<S, E>(spec: &S, path: &str)
where S: KeySpecifier + Debug + PartialEq + for<'p> TryFrom<&'p KeyPath, Error = E>, E: Debug,
Available on crate feature testing only.
Expand description

Check that spec produces the ArtiPath from path, and that path parses to spec

§Panics

Panics if path isn’t valid as an ArtiPath or any of the checks fail.