Struct inferno::collapse::guess::Folder [−][src]
pub struct Folder { /* fields omitted */ }A collapser that tries to find an appropriate implementation of Collapse
based on the input, then delegates to that collapser if one is found.
If no applicable collapser is found, an error will be logged and nothing will be written.
Trait Implementations
impl Collapse for Folder[src]
impl Collapse for Folder[src]fn collapse<R, W>(&mut self, reader: R, writer: W) -> Result<()> where
R: BufRead,
W: Write, [src]
R: BufRead,
W: Write,
fn is_applicable(&mut self, _line: &str) -> Option<bool>[src]
fn collapse_file<P, W>(&mut self, infile: Option<P>, writer: W) -> Result<()> where
P: AsRef<Path>,
W: Write, [src]
P: AsRef<Path>,
W: Write,
fn collapse_file_to_stdout<P>(&mut self, infile: Option<P>) -> Result<()> where
P: AsRef<Path>, [src]
P: AsRef<Path>,
Auto Trait Implementations
impl RefUnwindSafe for Folder
impl RefUnwindSafe for Folderimpl UnwindSafe for Folder
impl UnwindSafe for Folder