Skip to main content

try_request_control

Function try_request_control 

Source
pub fn try_request_control(
    node: &'static TaskNode,
    op: ControlOp,
) -> Result<(), ControlQueueFull>
Expand description

Non-blocking variant of request_control for sync contexts (ISRs, callbacks). Fails with ControlQueueFull instead of dropping the request when the mailbox is full — the caller decides whether to retry or surface it.