Skip to content

Support using DeserializeSeed with StreamDeserializer #304

Open
@dtolnay

Description

@dtolnay

Currently the stream API looks like:

impl<'de, R, T> Iterator for StreamDeserializer<'de, R, T>
    where R: Read<'de>,
          T: Deserialize<'de>,
{
    type Item = Result<T>;

    fn next(&mut self) -> Option<Result<T>>;
}

There should be some way to pass in a DeserializeSeed to get the next value.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions