Expand description
Modules§
- std_
host std - std hosts:
- tokio
tokio - tokio: a
Clock+Timerovertokio::time, sowaitruns as a tokio task (its predicted sleep is a tokio timer; tokio’s timer wheel has 1 ms resolution, so this host suits consumers that are not latency-critical). Pair it withWatcherto await completion lines from tokio tasks. - uring
Linux and io-uring - io_uring: an
Idlewhose deadline sleep is oneIORING_OP_TIMEOUTwith a nanosecond timespec (no timer-slack rounding, and the same ring can carry network I/O), and whose line park is theStdIdlepark (the CPU’s word wait). The executor kindio-uring.