Trait Genesis

Source
pub trait Genesis: PrivateKey {
    // Required method
    fn genesis() -> Self;
}
Expand description

A type family with a by-convention notion of genesis private key.

Required Methods§

Source

fn genesis() -> Self

Produces the genesis private key.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§