Enum gfapi_sys::gluster::PosixLockCmd [] [src]

pub enum PosixLockCmd {
    Exclusive,
    Shared,
    Unlock,
}

Apply or remove an advisory lock on the open file.

Variants

Place an exclusive lock. Only one process may hold an exclusive lock for a given file at a given time.

Place a shared lock. More than one process may hold a shared lock for a given file at a given time.

Remove an existing lock held by this process.

Trait Implementations

impl Into<i32> for PosixLockCmd
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for PosixLockCmd

impl Sync for PosixLockCmd