pub struct Twrite {
pub fid: u32,
pub offset: u64,
pub data: Data,
}
Expand description
write – write data to a file
size[4] Twrite tag[2] fid[4] offset[8] data[count]
size[4] Rwrite tag[2] count[4]
write performs I/O on the file represented by fid.
See the Plan 9 manual page for write(5).
Fields§
§fid: u32
§offset: u64
§data: Data
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Twrite
impl RefUnwindSafe for Twrite
impl Send for Twrite
impl Sync for Twrite
impl Unpin for Twrite
impl UnwindSafe for Twrite
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