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_shortpub l_whence: ::c_shortpub l_start: ::off_tpub l_len: ::off_tpub l_pid: ::pid_tTrait Implementations
impl Debug for flock
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Hash for flock
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()impl StructuralEq for flockimpl StructuralPartialEq for flockAuto Trait Implementations
impl RefUnwindSafe for flockimpl UnwindSafe for flockBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T