pub struct CsvExporter<W: Write> { /* private fields */ }Expand description
Writes events as CSV with a header row.
Columns: chain, schema, address, tx_hash, block_number, log_index, fields_json
Implementations§
Trait Implementations§
Source§impl<W: Write> Exporter for CsvExporter<W>
impl<W: Write> Exporter for CsvExporter<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 CsvExporter<W>where
W: Freeze,
impl<W> RefUnwindSafe for CsvExporter<W>where
W: RefUnwindSafe,
impl<W> Send for CsvExporter<W>where
W: Send,
impl<W> Sync for CsvExporter<W>where
W: Sync,
impl<W> Unpin for CsvExporter<W>where
W: Unpin,
impl<W> UnsafeUnpin for CsvExporter<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for CsvExporter<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