Trait pthash::encoders::Encoder

source ·
pub trait Encoder: BackendForEncoderByHash<hash64> + BackendForEncoderByHash<hash128> {
    const NAME: &'static str;
}

Required Associated Constants§

source

const NAME: &'static str

Same value as the one passed as PTHash’s CLI’s -e argument

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Encoder for DictionaryDictionary

source§

const NAME: &'static str = "dictionary_dictionary"

source§

impl Encoder for EliasFano

source§

const NAME: &'static str = "elias_fano"

source§

impl Encoder for PartitionedCompact

source§

const NAME: &'static str = "partitioned_compact"