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.

Implementors§

impl KeyPathInfoExtractor for HsClientDescEncKeypairSpecifierInfoExtractor

impl KeyPathInfoExtractor for BlindIdKeypairSpecifierInfoExtractor

impl KeyPathInfoExtractor for BlindIdPublicKeySpecifierInfoExtractor

impl KeyPathInfoExtractor for DescSigningKeypairSpecifierInfoExtractor

impl KeyPathInfoExtractor for HsIdKeypairSpecifierInfoExtractor

impl KeyPathInfoExtractor for HsIdPublicKeySpecifierInfoExtractor

impl KeyPathInfoExtractor for IptKeySpecifierInfoExtractor

impl KeyPathInfoExtractor for RelayIdentityKeypairSpecifierInfoExtractor

impl KeyPathInfoExtractor for RelayIdentityPublicKeySpecifierInfoExtractor

impl KeyPathInfoExtractor for RelaySigningKeypairSpecifierInfoExtractor