[−][src]Trait hycon_rust::traits::ValidAddress
Defines methods for a Valid Address Type
Required methods
fn to_string(&self) -> String
Returns a String representation of the AddressType
fn from_string(string: &String) -> Result<AddressType, Box<dyn Error>>
Converts a string into an AddressType, wrapped in a Result
fn from_pubkey(pubkey: KeyType) -> AddressType
Converts a KeyType into an AddressType
fn from_bytes(bytes: &[u8; 20]) -> AddressType
Converts a raw byte array into an Address Type