Structs§
- AccessError πAn error returned by
LocalKey::try_with
. - Builder πThread factory, which can be used in order to configure the properties of a new thread.
- JoinHandle πAn owned permission to join on a thread (block on its termination).
- LocalKey πA thread local storage key which owns its contents.
- Thread πA handle to a thread.
- ThreadId πA unique identifier for a running thread.
Functions§
- current πGets a handle to the thread that invokes it.
- panicking πDetermines whether the current thread is unwinding because of panic.
- park πBlocks unless or until the current threadβs token is made available.
- park_timeout πBlocks unless or until the current threadβs token is made available or the specified duration has been reached (may wake spuriously).
- sleep πPuts the current thread to sleep for at least the specified amount of time.
- spawn πSpawns a new thread, returning a
JoinHandle
for it. - yield_now π