Skip to main content

KeyPathInfoExtractor

Trait KeyPathInfoExtractor 

Source
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 KeyPaths.

This trait is used by KeyMgr::describe to extract information out of KeyPaths.

Required Methods§

Source

fn describe(&self, path: &KeyPath) -> StdResult<KeyPathInfo, KeyPathError>

Describe the specified path.

Trait Implementations§

Source§

impl Collect for &'static dyn KeyPathInfoExtractor

Available on crate feature keymgr only.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§