Struct Tgetlock
pub struct Tgetlock {
pub fid: u32,
pub type_: u8,
pub start: u64,
pub length: u64,
pub proc_id: u32,
pub client_id: String,
}
Expand description
getlock – test for the existence of a POSIX record lock
size[4] Tgetlock tag[2] fid[4] type[1] start[8] length[8] proc_id[4] client_id[s]
size[4] Rgetlock tag[2] type[1] start[8] length[8] proc_id[4] client_id[s]
getlock tests for the existence of a POSIX record lock on the open file fid.
See the Plan 9 manual page for getlock(5).
Fields§
§fid: u32
§type_: u8
§start: u64
§length: u64
§proc_id: u32
§client_id: String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tgetlock
impl RefUnwindSafe for Tgetlock
impl Send for Tgetlock
impl Sync for Tgetlock
impl Unpin for Tgetlock
impl UnwindSafe for Tgetlock
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