Skip to main content

send_result_owned

Function send_result_owned 

Source
pub fn send_result_owned(
    sid: u64,
    status: NrStatus,
    data: NrOwnedBytes,
) -> NrStatus
Expand description

Sends a response the host consumes without copying; the host takes ownership and calls the payload’s release exactly once.