Struct ethcore::pod_state::PodState
[−]
[src]
pub struct PodState(_);
State of all accounts in the system expressed in Plain Old Data.
Methods
impl PodState[src]
impl PodStatepub fn new() -> PodState[src]
pub fn new() -> PodStateContruct a new object from the m.
pub fn from(m: BTreeMap<Address, PodAccount>) -> PodState[src]
pub fn from(m: BTreeMap<Address, PodAccount>) -> PodStateContruct a new object from the m.
pub fn get(&self) -> &BTreeMap<Address, PodAccount>[src]
pub fn get(&self) -> &BTreeMap<Address, PodAccount>Get the underlying map.
pub fn root(&self) -> H256[src]
pub fn root(&self) -> H256Get the root hash of the trie of the RLP of this.
pub fn drain(self) -> BTreeMap<Address, PodAccount>[src]
pub fn drain(self) -> BTreeMap<Address, PodAccount>Drain object to get the underlying map.
Trait Implementations
impl Debug for PodState[src]
impl Debug for PodStatefn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for PodState[src]
impl Clone for PodStatefn clone(&self) -> PodState[src]
fn clone(&self) -> PodStateReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for PodState[src]
impl PartialEq for PodStatefn eq(&self, __arg_0: &PodState) -> bool[src]
fn eq(&self, __arg_0: &PodState) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &PodState) -> bool[src]
fn ne(&self, __arg_0: &PodState) -> boolThis method tests for !=.
impl Eq for PodState[src]
impl Eq for PodStateimpl Default for PodState[src]
impl Default for PodStateimpl From<State> for PodState[src]
impl From<State> for PodStateimpl From<State> for PodState[src]
impl From<State> for PodStateimpl Display for PodState[src]
impl Display for PodState