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