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

Chunk key encoding traits.

Required Methods§

source

fn create_metadata(&self) -> Metadata

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§