Skip to main content

try_encode_empty_io_queue_into

Function try_encode_empty_io_queue_into 

Source
pub fn try_encode_empty_io_queue_into(
    slot_count: u32,
    dst: &mut Vec<u8>,
) -> Result<(), PipelineError>
Expand description

Strictly encode an empty IO queue buffer into caller-owned storage.

ยงErrors

Returns PipelineError::QueueFull when slot_count is zero, exceeds the compiled megakernel poll window, or overflows the host byte length.