#[no_mangle]
pub extern "C" fn pactffi_async_message_get_description(
message: *const AsynchronousMessage
) -> *const c_char
Expand description
Get a copy of the description.
§Safety
The returned string must be deleted with pactffi_string_delete
.
Since it is a copy, the returned string may safely outlive the AsynchronousMessage
.
§Errors
On failure, this function will return a NULL pointer.
This function may fail if the Rust string contains embedded null (‘\0’) bytes.