Struct asink::json::JsonSink [] [src]

pub struct JsonSink { /* fields omitted */ }

Output data as JSON lines like following:

Be careful when using this code, it's not being tested!
{"a": 1, "b": [1, 2, 3]}
{"a": 2, "b": [2, 2, 3]}

Methods

impl JsonSink
[src]

[src]

[src]

Trait Implementations

impl Debug for JsonSink
[src]

[src]

Formats the value using the given formatter.

impl Clone for JsonSink
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<Doc: 'static + Send + Serialize> Sink<Doc> for JsonSink
[src]

[src]

Start a thread for sink