Trait lt_fm_index::IO[][src]

pub trait IO: Serialize + DeserializeOwned {
    fn write_to_file(&self, file_path: &str) -> Result<()> { ... }
fn read_from_file(file_path: &str) -> Result<Self> { ... }
fn write_to<W>(&self, writer: W) -> Result<()>
    where
        W: Write
, { ... }
fn read_from<R>(reader: R) -> Result<Self>
    where
        R: Read
, { ... } }
Expand description

Trait for write and read

All LtFmIndex in crate::use_case have this trait

Provided methods

Write to file

Read from file

Write to Writer

Read from Readr

Implementors