[−][src]Module transact::state
Methods for interacting with State.
Transact State is managed via the implementation of three traits: the
Write
, Read
, and Prune
. These provide commit, read access,
and a way to purge old state, respectively, to an underlying storage mechanism.
Re-exports
pub use crate::state::error::StatePruneError; |
pub use crate::state::error::StateReadError; |
pub use crate::state::error::StateWriteError; |
Modules
change_log | |
error | |
hashmap | Provides a simple, in-memory implementation of backed by |
merkle |
Enums
StateChange | A change to be applied to state, in terms of keys and values. |
Traits
Prune |
|
Read |
|
Write |
|