Module transact::state [−][src]
Expand description
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
Provides a simple, in-memory implementation of backed by std::collections::HashMap
.
Enums
A change to be applied to state, in terms of keys and values.