ProbeStream

Trait ProbeStream 

Source
pub trait ProbeStream<'de> {
    type Error;

    // Required method
    fn next(&mut self) -> Result<Option<FieldEvidence<'de>>, Self::Error>;
}
Expand description

Streaming cursor that yields serialized fields for solver probing.

Required Associated Types§

Source

type Error

Parser-specific error type.

Required Methods§

Source

fn next(&mut self) -> Result<Option<FieldEvidence<'de>>, Self::Error>

Produce the next field evidence entry. Returning Ok(None) indicates the parser ran out of evidence or the format does not need additional passes.

Implementors§