Module state

Source
Expand description

State database component from [crate::Database]

Traits§

State
Trait for mutable access to state data including accounts, code, and storage. This is typically used for database implementations that may modify state or need mutable access for caching purposes.
StateRef
Trait for immutable access to state data including accounts, code, and storage. This is typically used for read-only database implementations or when state data is pre-loaded and doesn’t require modification.