pub trait Derive: Sized {
    // Provided method
    fn derive<Iter>(&self, _path: Iter) -> Option<Self>
       where Iter: Iterator<Item = DeriveJunction> { ... }
}
Expand description

Derivable key trait.

Provided Methods§

fn derive<Iter>(&self, _path: Iter) -> Option<Self>
where Iter: Iterator<Item = DeriveJunction>,

Derive a child key from a series of given junctions.

Will be None for public keys if there are any hard junctions in there.

Object Safety§

This trait is not object safe.

Implementors§

§

impl Derive for Dummy

§

impl Derive for gclient::ext::sp_runtime::app_crypto::ecdsa::AppPublic

§

impl Derive for gclient::ext::sp_runtime::app_crypto::ecdsa::Public

§

impl Derive for gclient::ext::sp_runtime::app_crypto::ed25519::AppPublic

§

impl Derive for gclient::ext::sp_runtime::app_crypto::ed25519::Public

§

impl Derive for gclient::ext::sp_runtime::app_crypto::sr25519::AppPublic

§

impl Derive for gclient::ext::sp_runtime::app_crypto::sr25519::Public