#[unsafe(no_mangle)]pub unsafe extern "C" fn hurray_writer_destroy(
handle: *mut *mut HurrayWriter,
) -> HurrayStatusExpand description
Destroys a writer, releases its transport context, and writes null through handle.
There is nothing to flush: a tensor is fully on the wire, or the call that wrote it failed. The transport’s own close, if it has one, belongs in its release callback.
§Safety
handleMUST be a valid, non-null pointer to a*mut HurrayWriterfromhurray_writer_new.- That writer MUST NOT have been destroyed already.