#[repr(i16)]pub enum FlockType {
F_RDLCK = 0,
F_WRLCK = 1,
F_UNLCK = 2,
}Expand description
Lock type, as found in flock::l_type, used with e.g.
FcntlCommand::F_SETLK and FcntlCommand::F_OFD_SETLK
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 UnsafeUnpin 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