pub trait WasmKeyPair {
// Required methods
fn public_key(&self) -> Uint8Array;
fn secret_key(&self) -> Uint8Array;
}Expand description
Common trait for WASM key pairs
Required Methods§
fn public_key(&self) -> Uint8Array
fn secret_key(&self) -> Uint8Array
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl WasmKeyPair for WasmKeyPairImpl
Available on crate feature
wasm only.