pub trait EntryStore: Send + Sync {
// Required methods
fn get(&self, index: u32) -> Result<Arc<DictEntry>, DictError>;
fn get_entries_at(
&self,
first_index: u32,
surface: &str,
) -> Result<Vec<Arc<DictEntry>>, DictError>;
fn len(&self) -> usize;
// Provided method
fn is_empty(&self) -> bool { ... }
}Expand description
사전 엔트리 저장소 인터페이스
Eager/Lazy 로드 모드를 추상화합니다.