Module driver

Source
Expand description

This module contains the higher-level drivers of the NDJSON-parser. Convenience functions to construct these are found at top-level of the crate.

Structsยง

FallibleNdjsonIter
Wraps an iterator over Results of data blocks, i.e. types implementing AsBytes, and offers an Iterator implementation over parsed NDJSON-records according to Deserialize, forwarding potential errors returned by the wrapped iterator. See from_fallible_iter and from_fallible_iter_with_config for more details.
FallibleNdjsonStream
Wraps a Stream of Results of data blocks, i.e. types implementing AsBytes, and offers a Stream mplementation over parsed NDJSON-records according to Deserialize, forwarding potential errors returned by the wrapped iterator. See from_fallible_stream and from_fallible_stream_with_config for more details.
NdjsonIter
Wraps an iterator of data blocks, i.e. types implementing AsBytes, and offers an Iterator implementation over parsed NDJSON-records according to Deserialize. See from_iter and from_iter_with_config for more details.
NdjsonStream
Wraps a Stream of data blocks, i.e. types implementing AsBytes, and offers a Stream implementation over parsed NDJSON-records according to Deserialize. See from_stream and from_stream_with_config for more details.