pub struct Folder { /* private fields */ }
Expand description
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§
source§impl Collapse for Folder
impl Collapse for Folder
source§fn collapse<R, W>(&mut self, reader: R, writer: W) -> Result<()>where
R: BufRead,
W: Write,
fn collapse<R, W>(&mut self, reader: R, writer: W) -> Result<()>where R: BufRead, W: Write,
Collapses the contents of the provided
reader
and writes folded stack lines to the
provided writer
.source§fn is_applicable(&mut self, _line: &str) -> Option<bool>
fn is_applicable(&mut self, _line: &str) -> Option<bool>
Returns whether this implementation is appropriate for the given input. Read more