Trait TrieWriter
pub trait TrieWriter: Send + Sync {
// Required method
fn write_trie_updates(
&self,
trie_updates: &TrieUpdates,
) -> Result<usize, ProviderError>;
}
Expand description
Trie Writer
Required Methods§
fn write_trie_updates(
&self,
trie_updates: &TrieUpdates,
) -> Result<usize, ProviderError>
fn write_trie_updates( &self, trie_updates: &TrieUpdates, ) -> Result<usize, ProviderError>
Writes trie updates to the database.
Returns the number of entries modified.