Trait ChunkKeyEncodingTraits

Source
pub trait ChunkKeyEncodingTraits:
    Debug
    + Send
    + Sync {
    // Required methods
    fn create_metadata(&self) -> MetadataV3;
    fn encode(&self, chunk_grid_indices: &[u64]) -> StoreKey;
}
Expand description

Chunk key encoding traits.

Required Methods§

Source

fn create_metadata(&self) -> MetadataV3

Create the metadata of this chunk key encoding.

Source

fn encode(&self, chunk_grid_indices: &[u64]) -> StoreKey

Encode chunk grid indices (grid cell coordinates) into a store key.

Implementors§