pub trait RegistryShard {
// Required methods
fn register(
&mut self,
hash: StrHash,
raw: String,
) -> Result<(), StorageError>;
fn lookup(&self, hash: StrHash) -> Result<Option<String>, StorageError>;
}Expand description
Single shard of the distributed string registry.