Enum pact_verifier::MismatchResult [−][src]
pub enum MismatchResult {
Mismatches {
mismatches: Vec<Mismatch>,
expected: Box<dyn Interaction>,
actual: Box<dyn Interaction>,
interaction_id: Option<String>,
},
Error(String, Option<String>),
}
Expand description
Result of performing a match
Variants
Response mismatches
Fields of Mismatches
mismatches: Vec<Mismatch>
Mismatches that occurred
expected: Box<dyn Interaction>
Expected Response/Message
actual: Box<dyn Interaction>
Actual Response/Message
interaction_id: Option<String>
Interaction ID if fetched from a pact broker
Error occurred
Implementations
Return the interaction ID associated with the error, if any
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for MismatchResult
impl !Send for MismatchResult
impl !Sync for MismatchResult
impl Unpin for MismatchResult
impl !UnwindSafe for MismatchResult
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more