Skip to main content

WasmKeyPair

Trait WasmKeyPair 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl WasmKeyPair for WasmKeyPairImpl

Available on crate feature wasm only.