#[repr(i16)]pub enum FlockType {
ReadLock = 0,
WriteLock = 1,
Unlocked = 2,
}
Available on crate feature
process
only.Expand description
F_*LCK
constants for use with fcntl_getlk
.
Variants§
Trait Implementations§
impl Copy for FlockType
impl Eq for FlockType
impl StructuralPartialEq for FlockType
Auto Trait Implementations§
impl Freeze for FlockType
impl RefUnwindSafe for FlockType
impl Send for FlockType
impl Sync for FlockType
impl Unpin for FlockType
impl UnwindSafe for FlockType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more