#[unsafe(no_mangle)]pub unsafe extern "C" fn phytrace_agent_send(
agent: *mut PhyTraceAgentHandle,
event: *mut PhyTraceEventHandle,
) -> i32Expand description
Send a built event through the agent’s transport.
This consumes the event handle (frees it). On failure, the event is still freed.
Returns PHYTRACE_OK on success, negative error code on failure.