pub struct JsonlExporter<W: Write> { /* private fields */ }Expand description
Writes events as newline-delimited JSON (JSONL).
Implementations§
Trait Implementations§
Source§impl<W: Write> Exporter for JsonlExporter<W>
impl<W: Write> Exporter for JsonlExporter<W>
Source§fn write_event(&mut self, event: &DecodedEvent) -> Result<(), IndexerError>
fn write_event(&mut self, event: &DecodedEvent) -> Result<(), IndexerError>
Write a single event.
Auto Trait Implementations§
impl<W> Freeze for JsonlExporter<W>where
W: Freeze,
impl<W> RefUnwindSafe for JsonlExporter<W>where
W: RefUnwindSafe,
impl<W> Send for JsonlExporter<W>where
W: Send,
impl<W> Sync for JsonlExporter<W>where
W: Sync,
impl<W> Unpin for JsonlExporter<W>where
W: Unpin,
impl<W> UnsafeUnpin for JsonlExporter<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for JsonlExporter<W>where
W: UnwindSafe,
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