pub trait KeyPathInfoExtractor: Send + Sync {
// Required method
fn describe(&self, path: &KeyPath) -> StdResult<KeyPathInfo, KeyPathError>;
}
Expand description
A trait for extracting info out of a KeyPath
s.
This trait is used by KeyMgr::describe
to extract information out of KeyPath
s.
Required Methods§
Sourcefn describe(&self, path: &KeyPath) -> StdResult<KeyPathInfo, KeyPathError>
fn describe(&self, path: &KeyPath) -> StdResult<KeyPathInfo, KeyPathError>
Describe the specified path
.
Trait Implementations§
impl Collect for &'static dyn KeyPathInfoExtractor
Available on crate feature
keymgr
only.