Function evebox_suricata_rule_parser::read_next_rule[][src]

pub fn read_next_rule(input: &mut dyn BufRead) -> Result<Option<String>, Error>
Expand description

Read the next rule from a reader.

This will actually return any line it reads, but will join together multiline rules into a single line rule.

Ok(None) will be returned on EOF, and an error will be returned on read error.