Struct sputnikvm::Storage
[−]
[src]
pub struct Storage { /* fields omitted */ }
Internal representation of an account storage. It will return a
RequireError
if trying to access non-existing storage.
Methods
impl Storage
[src]
fn read(&self, index: U256) -> Result<M256, RequireError>
[src]
Read a value from the storage.
fn write(&mut self, index: U256, value: M256) -> Result<(), RequireError>
[src]
Write a value into the storage.
Trait Implementations
impl Debug for Storage
[src]
impl Clone for Storage
[src]
fn clone(&self) -> Storage
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more