Skip to main content

parse_stream

Function parse_stream 

Source
pub fn parse_stream<N>(input: &[u8], sink: &N) -> Result<(), Error<N::Error>>
where for<'call> N: Nsi + Nsi<Arg<'call> = Arg<'call, 'static>>,
Expand description

Read an ɴsɪ stream, applying it to sink.

§Errors

Error::Syntax and its neighbours for input that is not the grammar, and Error::Sink when the sink refuses a statement.