Function crossbeam_channel::select::select_timeout

source ยท
pub fn select_timeout<'a>(
    handles: &mut [(&'a dyn SelectHandle, usize, *const u8)],
    timeout: Duration,
    is_biased: bool,
) -> Result<SelectedOperation<'a>, SelectTimeoutError>
Expand description

Blocks for a limited time until one of the operations becomes ready and selects it.