Trait Wif
godcoin::crypto::key
pub trait Wif<T, U> { fn from_wif(s: &str) -> Result<T, WifError>; fn to_wif(&self) -> U; }
fn from_wif(s: &str) -> Result<T, WifError>
fn to_wif(&self) -> U
impl Wif<KeyPair, PrivateWif> for PrivateKey
fn from_wif(s: &str) -> Result<KeyPair, WifError>
fn to_wif(&self) -> PrivateWif
impl Wif<PublicKey, Box<str>> for PublicKey
fn from_wif(s: &str) -> Result<PublicKey, WifError>
fn to_wif(&self) -> Box<str>
impl Wif<ScriptHash, Box<str>> for ScriptHash
fn from_wif(s: &str) -> Result<ScriptHash, WifError>