#[repr(C)]pub struct LkIn {
pub fh: u64,
pub owner: u64,
pub lk: FileLock,
pub lk_flags: u32,
pub padding: u32,
}Fields§
§fh: u64§owner: u64§lk: FileLock§lk_flags: u32§padding: u32Trait Implementations§
Source§impl ByteValued for LkIn
impl ByteValued for LkIn
Source§fn from_slice(data: &[u8]) -> Option<&Self>
fn from_slice(data: &[u8]) -> Option<&Self>
Converts a slice of raw data into a reference of
Self. Read moreSource§fn from_mut_slice(data: &mut [u8]) -> Option<&mut Self>
fn from_mut_slice(data: &mut [u8]) -> Option<&mut Self>
Converts a mutable slice of raw data into a mutable reference of
Self. Read moreSource§fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
Converts a mutable reference to
self into a mutable slice of bytes. Read moreSource§fn as_bytes(&mut self) -> VolatileSlice<'_>
fn as_bytes(&mut self) -> VolatileSlice<'_>
Converts a mutable reference to
self into a VolatileSlice. This is
useful because VolatileSlice provides a Bytes<usize> implementation. Read moreimpl Copy for LkIn
Auto Trait Implementations§
impl Freeze for LkIn
impl RefUnwindSafe for LkIn
impl Send for LkIn
impl Sync for LkIn
impl Unpin for LkIn
impl UnwindSafe for LkIn
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more