pub enum ProtocolTestFailure {
MissingQueryParam {
expected: String,
found: Vec<String>,
},
ForbiddenQueryParam {
expected: String,
},
RequiredQueryParam {
expected: String,
},
InvalidHeader {
key: String,
expected: String,
found: String,
},
MissingHeader {
expected: String,
},
ForbiddenHeader {
forbidden: String,
found: String,
},
BodyDidNotMatch {
comparison: PrettyString,
hint: String,
},
InvalidBodyFormat {
expected: String,
found: String,
},
}Variants
MissingQueryParam
ForbiddenQueryParam
Fields
expected: StringRequiredQueryParam
Fields
expected: StringInvalidHeader
MissingHeader
Fields
expected: StringForbiddenHeader
BodyDidNotMatch
InvalidBodyFormat
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.