referrerpolicy=no-referrer-when-downgrade
sp_core::crypto

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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,

impl Derive for Public

impl Derive for Public

impl Derive for Public

impl Derive for Public

impl Derive for Public

impl Derive for Public

impl Derive for Public

impl Derive for Public

impl Derive for Public

impl Derive for Public