pub fn tls_set(slot: usize, value: usize) -> Result<(), TlsError>Expand description
Write a coroutine-local storage slot for the currently running coroutine.
No heap allocation occurs.
Returns TlsError::InvalidSlot if slot >= TLS_SLOTS, or
TlsError::NotInCoroutine outside a running coroutine.