pub trait EntryReader {
    // Required method
    fn read_entries(
        self,
        tx: Sender<EntryType>,
        use_blacklist: bool
    ) -> Result<()>;
}
Expand description

Trait for reading entries for further optimization. Typically used with EntrySaver. Any function that matches these arguments (excluding self) can be used as custom entry reader.

Required Methods§

source

fn read_entries(self, tx: Sender<EntryType>, use_blacklist: bool) -> Result<()>

Reads entries and sends them via tx. The use_blacklist parameter is used to ignore predefined file types written in blacklist module.

Implementors§