pub trait KeystoreExt {
// Required methods
fn generate<Pair: AppPair>(&self) -> Result<Pair>;
fn public_keys<Public: AppPublic>(&self) -> Result<Vec<Public>>;
}Expand description
This is an extension from the substrate-api-client repo. Keep it as a separate trait to make that clear.
Required Methods§
fn generate<Pair: AppPair>(&self) -> Result<Pair>
fn public_keys<Public: AppPublic>(&self) -> Result<Vec<Public>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".