pub trait SnapshotReader {
    fn manifest(&self) -> &ManifestData;
fn chunk(&self, hash: H256) -> Result<Bytes>; }
Expand description

Something which can read compressed snapshots.

Required methods

Get the manifest data for this snapshot.

Get raw chunk data by hash. implementation defined behavior if a chunk not in the manifest is requested.

Implementors