pub trait Reader<K = Spur>: Resolver<K> {
// Required methods
fn get(&self, val: &str) -> Option<K>;
fn contains(&self, val: &str) -> bool;
}Expand description
A generic interface that allows using any underlying interner for
both its reading and resolution capabilities, allowing both
str -> key and key -> str lookups
Required Methods§
Implementations on Foreign Types§
Implementors§
impl<K, S> Reader<K> for Rodeo<K, S>where
K: Key,
S: BuildHasher,
impl<K, S> Reader<K> for RodeoReader<K, S>where
K: Key,
S: BuildHasher,
impl<K, S> Reader<K> for ThreadedRodeo<K, S>
Available on crate feature
multi-threaded only.