pub trait ValueAccess<V> { // Required methods fn read(&self) -> V; fn write(&mut self, value: V) -> V; }
Reads the current value from account storage.
Writes a new value into account storage and returns the previous value.