serde-jsonlines icon indicating copy to clipboard operation
serde-jsonlines copied to clipboard

Give `JsonLinesStream` getters for the inner `AsyncBufRead`

Open jwodder opened this issue 11 months ago • 0 comments

Specifically, give it get_ref(), get_mut(), into_inner(), and get_pin_mut() methods.

Problem: JsonLinesStream wraps tokio::io::Lines, which does not have a get_pin_mut() method to delegate to and whose into_inner() method loses data.

jwodder avatar Jan 14 '25 23:01 jwodder