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

The pact was verified OK

There was a mismatch between the expectations and the actual requests

The provided test code returned an error

There was a mismatch between the expectations and the actual requests and the user code returned an error

There was an error trying to setup the pact test

Trait Implementations

impl Debug for VerificationResult
[src]

Formats the value using the given formatter.

impl Clone for VerificationResult
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for VerificationResult
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.