Enum nix::fcntl::FlockArg
#[non_exhaustive]
pub enum FlockArg {
LockShared,
LockExclusive,
Unlock,
LockSharedNonblock,
LockExclusiveNonblock,
UnlockNonblock,
}
Variants
LockExclusive
Unlock
LockExclusiveNonblock
UnlockNonblock
Trait Implementations
impl Debug for FlockArg
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Hash for FlockArg
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl StructuralEq for FlockArg
impl StructuralPartialEq for FlockArg
Auto Trait Implementations
impl RefUnwindSafe for FlockArg
impl UnwindSafe for FlockArg
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T