pub trait Derive<D> {
// Required methods
fn default_keychain(&self) -> Keychain;
fn keychains(&self) -> BTreeSet<Keychain>;
fn derive(
&self,
keychain: impl Into<Keychain>,
index: impl Into<NormalIndex>
) -> D;
// Provided method
fn derive_batch(
&self,
keychain: impl Into<Keychain>,
from: impl Into<NormalIndex>,
max_count: u8
) -> Vec<D> { ... }
}
Required Methods§
fn default_keychain(&self) -> Keychain
fn keychains(&self) -> BTreeSet<Keychain>
fn derive( &self, keychain: impl Into<Keychain>, index: impl Into<NormalIndex> ) -> D
Provided Methods§
fn derive_batch( &self, keychain: impl Into<Keychain>, from: impl Into<NormalIndex>, max_count: u8 ) -> Vec<D>
Object Safety§
This trait is not object safe.