Trait rsure::TempLoader[][src]

pub trait TempLoader {
    fn new_loader(&self) -> Result<Box<dyn BufRead>>;
fn path_ref(&self) -> &Path;
fn into_cleaner(self: Box<Self>) -> Result<Box<dyn TempCleaner>>; }

A temp file that can spawn multiple loaders.

Required methods

fn new_loader(&self) -> Result<Box<dyn BufRead>>[src]

Open the temp file, and return a reader on it.

fn path_ref(&self) -> &Path[src]

Return the name of the temp file.

fn into_cleaner(self: Box<Self>) -> Result<Box<dyn TempCleaner>>[src]

Loading content...

Implementors

Loading content...