Enum pact_consumer::VerificationResult
[−]
[src]
pub enum VerificationResult { PactVerified, PactMismatch(Vec<MatchResult>), UserCodeFailed(String), PactMismatchAndUserCodeFailed(Vec<MatchResult>, String), PactError(String), }
Result of running the pact test
Variants
PactVerified
The pact was verified OK
PactMismatch(Vec<MatchResult>)
There was a mismatch between the expectations and the actual requests
UserCodeFailed(String)
The provided test code returned an error
PactMismatchAndUserCodeFailed(Vec<MatchResult>, String)
There was a mismatch between the expectations and the actual requests and the user code returned an error
PactError(String)
There was an error trying to setup the pact test
Trait Implementations
impl Debug for VerificationResult
[src]
impl Clone for VerificationResult
[src]
fn clone(&self) -> VerificationResult
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for VerificationResult
[src]
fn eq(&self, __arg_0: &VerificationResult) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &VerificationResult) -> bool
This method tests for !=
.