Enum galvanic_assert::MatchResult [] [src]

pub enum MatchResult {
    Matched {
        name: String,
    },
    Failed {
        name: String,
        reason: String,
    },
}

The return type of any Machter

Variants

Indicates that the Matcher matched the value under inspection.

Fields of Matched

The name of the Matcher

Indicates that the Matcher failed to match the value under inspection.

Fields of Failed

The name of the Matcher

The reason why the Matcher failed