Struct flock

struct flock { ... }

Fields

l_type: c_short
l_whence: c_short
l_start: __kernel_off_t
l_len: __kernel_off_t
l_pid: __kernel_pid_t

Implementations

impl Clone for flock

fn clone(self: &Self) -> flock

impl Copy for flock

impl Debug for flock

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Freeze for flock

impl RefUnwindSafe for flock

impl Send for flock

impl Sync for flock

impl Unpin for flock

impl UnsafeUnpin for flock

impl UnwindSafe for flock

impl<T> Any for flock

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for flock

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for flock

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for flock

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for flock

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for flock

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for flock

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for flock

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>