pub trait EntrySource: Send + Sync {
// Required methods
fn current(&self) -> Option<&VersionedEntry>;
fn next(&mut self) -> bool;
fn seek(&mut self, key: &[u8]);
fn exhausted(&self) -> bool;
fn priority(&self) -> u32;
}Expand description
Source of entries for merging
Required Methods§
Sourcefn current(&self) -> Option<&VersionedEntry>
fn current(&self) -> Option<&VersionedEntry>
Get current entry (None if exhausted)