pub trait StateSnapshotReceiver<K, V>: Send {
fn add_chunk(
&mut self,
chunk: Vec<(K, V)>,
proof: SparseMerkleRangeProof
) -> Result<()>;
fn finish(self) -> Result<()>;
fn finish_box(self: Box<Self>) -> Result<()>;
}