[][src]Struct fcntl::flock

#[repr(C)]pub struct flock {
    pub l_type: i16,
    pub l_whence: i16,
    pub l_start: i64,
    pub l_len: i64,
    pub l_pid: i32,
}

Fields

l_type: i16l_whence: i16l_start: i64l_len: i64l_pid: i32

Trait Implementations

impl Clone for flock[src]

impl Copy for flock[src]

impl FlockOperations for flock[src]

fn default() -> Self[src]

Sets all fields to 0.

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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.