pub struct StdoutReporter<W> { /* private fields */ }Implementations§
Source§impl<W> StdoutReporter<W>where
W: Write,
impl<W> StdoutReporter<W>where
W: Write,
pub fn new(writer: W) -> Self
pub fn with_usage(self, show_usage: bool) -> Self
pub fn writer(&self) -> &W
pub fn take_errors(&mut self) -> Vec<ReportError>
Trait Implementations§
Source§impl<W> LoopObserver for StdoutReporter<W>
impl<W> LoopObserver for StdoutReporter<W>
fn handle_event(&mut self, event: AgentEvent)
Auto Trait Implementations§
impl<W> Freeze for StdoutReporter<W>where
W: Freeze,
impl<W> !RefUnwindSafe for StdoutReporter<W>
impl<W> Send for StdoutReporter<W>where
W: Send,
impl<W> Sync for StdoutReporter<W>where
W: Sync,
impl<W> Unpin for StdoutReporter<W>where
W: Unpin,
impl<W> UnsafeUnpin for StdoutReporter<W>where
W: UnsafeUnpin,
impl<W> !UnwindSafe for StdoutReporter<W>
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