Module burn_common::stub
source · Expand description
Stub module contains types for stubs for non-std environments and for std environments.
Structs
- A mutual exclusion primitive useful for protecting shared data
- A reader-writer lock which is exclusively locked for writing or shared for reading. This reader-writer lock will block threads waiting for the lock to become available. The lock can also be statically initialized or created via a RwLock::new RwLock wrapper to make
spin::RwLockAPI compatible withstd::sync::RwLockto swap - A unique identifier for a running thread.