#[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
l_type: c_short
l_whence: c_short
l_start: off_t
l_len: off_t
l_pid: pid_t
Trait Implementations
sourceimpl Hash for flock
impl Hash for flock
sourcefn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [
Hasher
]. Read more1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Feeds a slice of this type into the given [
Hasher
]. Read moreimpl Copy for flock
impl Eq for flock
impl StructuralEq for flock
impl StructuralPartialEq for flock
Auto Trait Implementations
impl RefUnwindSafe for flock
impl Send for flock
impl Sync for flock
impl Unpin for flock
impl UnwindSafe for flock
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more