Enum rustix::fs::FlockOperation
source · [−]#[repr(i32)]
pub enum FlockOperation {
LockShared,
LockExclusive,
Unlock,
NonBlockingLockShared,
NonBlockingLockExclusive,
NonBlockingUnlock,
}
Expand description
LOCK_*
constants for use with flock
Variants
LockShared
LOCK_SH
LockExclusive
LOCK_EX
Unlock
LOCK_UN
NonBlockingLockShared
LOCK_SH | LOCK_NB
NonBlockingLockExclusive
LOCK_EX | LOCK_NB
NonBlockingUnlock
LOCK_UN | LOCK_NB
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FlockOperation
impl Send for FlockOperation
impl Sync for FlockOperation
impl Unpin for FlockOperation
impl UnwindSafe for FlockOperation
Blanket Implementations
Mutably borrows from an owned value. Read more