Enum shared_memory::LockType
[−]
[src]
pub enum LockType { Mutex, RwLock, None, }
List of all possible locking mechanisms. Some OS implementations might not implement all of the possible lock types in this enum.
Variants
Mutex
Only one reader or writer can hold this lock at once
RwLock
Multiple readers can access the data. Writer access is exclusive.
None
No locking restrictions on the shared memory