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

Only one reader or writer can hold this lock at once

Multiple readers can access the data. Writer access is exclusive.

No locking restrictions on the shared memory

Trait Implementations

impl Debug for LockType
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for LockType

impl Sync for LockType