dmarc 0.1.8

DMARC (RFC7489) implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
quick_error! {
    #[derive(Debug, PartialEq)]
    /// DMARC errors
    pub enum DMARCError {
        PolicyParseError(err: String) {
            display("failed to parse policy: {}", err)
        }
        MissingRequiredTag(tag: &'static str) {
            display("missing required tag: {}", tag)
        }
        IncompatibleVersion(value: String) {
            display("incompatible version: {}", value)
        }
        UnknownInternalError(err: String) {
            display("internal error: {}", err)
        }
    }
}