pub trait Derive: Sized {
// Provided method
fn derive<Iter: Iterator<Item = DeriveJunction>>(
&self,
_path: Iter,
) -> Option<Self> { ... }
}
Expand description
Derivable key trait.
Provided Methods§
Sourcefn derive<Iter: Iterator<Item = DeriveJunction>>(
&self,
_path: Iter,
) -> Option<Self>
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.