Trait sp_core::crypto::Derive

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

Derivable key trait.

Provided Methods§

source

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

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§

source§

impl Derive for Public

source§

impl Derive for Dummy

source§

impl<const N: usize, SubTag> Derive for PublicBytes<N, SubTag>
where Self: CryptoType,