Skip to main content

TokenProfile

Trait TokenProfile 

Source
pub trait TokenProfile: Send + Sync {
    // Required methods
    fn id(&self) -> &str;
    fn fingerprint(&self) -> &str;
    fn count_batch(&self, values: &[String]) -> Result<Vec<usize>, CoreError>;
}
Expand description

Combines deterministic tokenization with provider envelope accounting.

Required Methods§

Source

fn id(&self) -> &str

Source

fn fingerprint(&self) -> &str

Source

fn count_batch(&self, values: &[String]) -> Result<Vec<usize>, CoreError>

Implementors§