[][src]Trait block::FromKey

pub trait FromKey: Sized {
    fn from_public_key(key: &PublicKey) -> Self;
fn from_secret_key(key: &SecretKey) -> Result<Self, Error>; }

Required methods

fn from_public_key(key: &PublicKey) -> Self

fn from_secret_key(key: &SecretKey) -> Result<Self, Error>

Loading content...

Implementations on Foreign Types

impl FromKey for Address[src]

Loading content...

Implementors

Loading content...