Struct esvm::Address
[−]
[src]
pub struct Address(_);
Represents an Ethereum address. This address is 20 bytes long.
Methods
impl Address
[src]
Trait Implementations
impl Eq for Address
[src]
impl PartialEq for Address
[src]
fn eq(&self, __arg_0: &Address) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Address) -> bool
This method tests for !=
.
impl Debug for Address
[src]
impl Copy for Address
[src]
impl Clone for Address
[src]
fn clone(&self) -> Address
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Hash for Address
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Default for Address
[src]
impl Encodable for Address
[src]
fn rlp_append(&self, s: &mut RlpStream)
Append a value to the stream
fn rlp_bytes(&self) -> ElasticArray1024<u8>
Get rlp-encoded bytes for this instance
impl Into<M256> for Address
[src]
impl From<M256> for Address
[src]
impl Into<[u8; 20]> for Address
[src]
impl FromStr for Address
[src]
type Err = ParseHexError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Address, ParseHexError>
Parses a string s
to return a value of this type. Read more