Trait diem_jellyfish_merkle::TreeWriter
source · pub trait TreeWriter<V> {
// Required method
fn write_node_batch(&self, node_batch: &NodeBatch<V>) -> Result<()>;
}
Required Methods§
sourcefn write_node_batch(&self, node_batch: &NodeBatch<V>) -> Result<()>
fn write_node_batch(&self, node_batch: &NodeBatch<V>) -> Result<()>
Writes a node batch into storage.