Struct Tlock
pub struct Tlock {
pub fid: u32,
pub type_: u8,
pub flags: u32,
pub start: u64,
pub length: u64,
pub proc_id: u32,
pub client_id: String,
}
Expand description
lock – acquire or release a POSIX record lock
size[4] Tlock tag[2] fid[4] type[1] flags[4] start[8] length[8] proc_id[4] client_id[s]
size[4] Rlock tag[2] status[1]
lock acquires or releases a POSIX record lock on the open file fid.
See the Plan 9 manual page for lock(5).
Fields§
§fid: u32
§type_: u8
§flags: u32
§start: u64
§length: u64
§proc_id: u32
§client_id: String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tlock
impl RefUnwindSafe for Tlock
impl Send for Tlock
impl Sync for Tlock
impl Unpin for Tlock
impl UnwindSafe for Tlock
Blanket Implementations§
Source§impl<T> AsyncWireFormatExt for Twhere
T: WireFormat + Send,
impl<T> AsyncWireFormatExt for Twhere
T: WireFormat + Send,
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