Expand description
The DMARC Aggregate Parser is intended to provide a programmatical way to access information in an DMARC report.
Modules§
- aggregate_
report - Contains the required stuctures and enums used to store data from a parsed xml report.
- error_
handling - Provides the required error types that are expected to be possible while parsing a file.
Functions§
- parse
- This function takes a reference to a file to be parsed. If the file can not be parsed a ParsingError is returned. #Example:
- parse_
dir - This function takes a directory path as an argument. If no dmarc report are found, an empty
Vec
is returned. Any subdirectories are ignored. Any files that can not be parsed will be reported through STDERR