Struct vapcore_pod::state::PodState[][src]

pub struct PodState(_);

State of all accounts in the system expressed in Plain Old Data.

Implementations

impl PodState[src]

pub fn get(&self) -> &BTreeMap<Address, PodAccount>[src]

Get the underlying map.

pub fn root(&self) -> H256[src]

Get the root hash of the trie of the RLP of this.

pub fn drain(self) -> BTreeMap<Address, PodAccount>[src]

Drain object to get the underlying map.

Trait Implementations

impl Clone for PodState[src]

impl Debug for PodState[src]

impl Default for PodState[src]

impl Eq for PodState[src]

impl From<BTreeMap<H160, PodAccount>> for PodState[src]

impl From<State> for PodState[src]

impl PartialEq<PodState> for PodState[src]

impl Serialize for PodState[src]

impl StructuralEq for PodState[src]

impl StructuralPartialEq for PodState[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,