Crate pact_matching_ffi[−][src]
Expand description
A crate exposing the pact_matching
API to other languages
via a C Foreign Function Interface.
Modules
error | Tools for FFI error reporting and handling. |
log | Sets up a log sink to view logs from the FFI. |
models | Represents messages in |
Macros
as_mut | Get a mutable reference from a raw pointer |
as_ref | Get an immutable reference from a raw pointer |
cstr | Construct a CStr safely with null checks. |
safe_str | Construct a |
Structs
Mismatches | A collection of mismatches from a matching comparison. |
MismatchesIterator | An iterator over mismatches. |
Enums
Mismatch | Enum that defines the different types of mismatches that can occur. |
Functions
match_message | Match a pair of messages, producing a collection of mismatches, which is empty if the two messages matched. |
mismatch_ansi_description | Get an ANSI-compatible description of a mismatch. |
mismatch_description | Get a description of a mismatch. |
mismatch_summary | Get a summary of a mismatch. |
mismatch_to_json | Get a JSON representation of the mismatch. |
mismatch_type | Get the type of a mismatch. |
mismatches_delete | Delete mismatches |
mismatches_get_iter | Get an iterator over mismatches. |
mismatches_iter_delete | Delete a mismatches iterator when you’re done with it. |
mismatches_iter_next | Get the next mismatch from a mismatches iterator. |