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