#[no_mangle]
pub extern "C" fn pactffi_message_pact_get_metadata_iter(
    message_pact: *mut MessagePact
) -> *mut MessagePactMetadataIterator
Expand description

Get an iterator over the metadata of a message pact.

§Safety

This iterator carries a pointer to the message pact, and must not outlive the message pact.

The message pact metadata also must not be modified during iteration. If it is, the old iterator must be deleted and a new iterator created.

§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.