Skip to main content

try_encode_empty_io_queue

Function try_encode_empty_io_queue 

Source
pub fn try_encode_empty_io_queue(
    slot_count: u32,
) -> Result<Vec<u8>, PipelineError>
Expand description

Strictly encode an empty IO queue buffer.

ยงErrors

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