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
sourceimpl Collapse for Folder
impl Collapse for Folder
sourcefn 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. Read more
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more