Module generic

Source
Expand description

Types and traits with a const SHM: bool> generic paramters.

These are the generic types that are parameterized on whether they support shared memory or not. They are aliased as non-parameterized types in the top-level crate and in the shm module for better ergonomics.

Structs§

Condvar
A Condition Variable
Once
A synchronization primitive which can be used to run a one-time global initialization. Useful for one-time initialization for FFI or related functionality. This type can only be constructed with Once::new().
OnceLock
A synchronization primitive which can nominally be written to only once.
RawCondvar
RawMutex
An implementation of lock_api::RawMutex.
RawRwLock
An implementation of lock_api::RawRwLock.

Type Aliases§

MappedMutexGuard
MappedRwLockReadGuard
MappedRwLockWriteGuard
Mutex
MutexGuard
ReentrantMutexatomic_usize
ReentrantMutexGuardatomic_usize
RwLock
RwLockReadGuard
RwLockWriteGuard