pub struct CliReporterBuilder { /* private fields */ }Expand description
Builder for creating a CliReporter with customizable settings.
Implementations§
Source§impl CliReporterBuilder
impl CliReporterBuilder
Sourcepub fn collect(self) -> Self
pub fn collect(self) -> Self
Enables collection of output strings instead of printing to stdout/stderr.
Sourcepub fn set_collect(self, collect: bool) -> Self
pub fn set_collect(self, collect: bool) -> Self
Sets collection mode.
Sourcepub fn build(self) -> CliReporter
pub fn build(self) -> CliReporter
Builds the CliReporter instance with the specified settings.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CliReporterBuilder
impl RefUnwindSafe for CliReporterBuilder
impl Send for CliReporterBuilder
impl Sync for CliReporterBuilder
impl Unpin for CliReporterBuilder
impl UnsafeUnpin for CliReporterBuilder
impl UnwindSafe for CliReporterBuilder
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