Module thread_guard

Source

Structs§

ThreadGuard
Thread guard that only gives access to the contained value on the thread it was created on.

Functions§

next_thread_id 🔒
thread_id
Returns a unique ID for the current thread.