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<()>
fn collapse<R, W>(&mut self, reader: R, writer: W) -> Result<()>
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
Auto Trait Implementations§
impl RefUnwindSafe for Folder
impl Send for Folder
impl Sync for Folder
impl Unpin for Folder
impl UnwindSafe for Folder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more