pub trait Creator: Debug {
// Required methods
fn create(
&self,
codes: Option<Vec<&str>>,
count: Option<usize>,
code: Option<&str>,
pidx: Option<usize>,
ridx: Option<usize>,
kidx: Option<usize>,
transferable: Option<bool>,
temp: Option<bool>,
) -> Vec<Signer>;
fn salt(&self) -> String;
fn stem(&self) -> String;
fn tier(&self) -> Option<&Tiers>;
}Expand description
Creator trait defines the interface for key pair creation
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".