pub trait JsonlDeserialize<R> {
// Required method
fn deserialize<T>(self) -> impl Stream<Item = Result<T>>
where T: for<'a> Deserialize<'a>;
}Expand description
Extension trait to add deserialization capabilities to JsonlIterator
Required Methods§
Sourcefn deserialize<T>(self) -> impl Stream<Item = Result<T>>where
T: for<'a> Deserialize<'a>,
fn deserialize<T>(self) -> impl Stream<Item = Result<T>>where
T: for<'a> Deserialize<'a>,
Deserialize JSON lines into the specified type
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.