parse_all

Function parse_all 

Source
pub fn parse_all<F>(
    flags: Option<ParseFlags>,
    directory: Option<&Path>,
    match_list: Option<&str>,
    callback: F,
) -> Result<(), i32>
where F: FnMut(PacketInfo<'_>) -> Result<(), i32>,
Examples found in repository?
examples/parse_all.rs (lines 4-7)
3fn main() {
4    parse_all(Some(ParseFlags::DYNAMIC), None, None, |info| {
5        println!("{:?}", info);
6        Ok(())
7    })
8    .expect("oh no :/");
9}