#[no_mangle]
pub extern "C" fn pactffi_pact_handle_get_message_iter(
    pact: PactHandle
) -> *mut PactMessageIterator
Expand description

Get an iterator over all the messages of the Pact. The returned iterator needs to be freed with pactffi_pact_message_iter_delete.

§Safety

The iterator contains a copy of the Pact, so it is always safe to use.

§Error Handling

On failure, this function will return a NULL pointer.

This function may fail if any of the Rust strings contain embedded null (‘\0’) bytes.