Struct libc::flock
#[repr(C)]
pub struct flock {
pub l_type: ::c_short,
pub l_whence: ::c_short,
pub l_start: ::off_t,
pub l_len: ::off_t,
pub l_pid: ::pid_t,
}
Fields
pub l_type: ::c_short
pub l_whence: ::c_short
pub l_start: ::off_t
pub l_len: ::off_t
pub l_pid: ::pid_t
Trait Implementations
impl Debug for flock
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Hash for flock
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl StructuralEq for flock
impl StructuralPartialEq for flock
Auto Trait Implementations
impl RefUnwindSafe for flock
impl UnwindSafe for flock
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T