Struct vapcore_pod::state::PodState [−][src]
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]
fn from(s: BTreeMap<Address, PodAccount>) -> Self
[src]
impl From<State> for PodState
[src]
impl PartialEq<PodState> for PodState
[src]
impl Serialize for PodState
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for PodState
[src]
impl StructuralPartialEq for PodState
[src]
Auto Trait Implementations
impl RefUnwindSafe for PodState
impl Send for PodState
impl Sync for PodState
impl Unpin for PodState
impl UnwindSafe for PodState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,