Struct Tgetattr
pub struct Tgetattr {
pub fid: u32,
pub request_mask: u64,
}
Expand description
getattr – get file attributes
size[4] Tgetattr tag[2] fid[4] request_mask[8]
size[4] Rgetattr tag[2] valid[8] qid[13] mode[4] uid[4] gid[4] nlink[8]
rdev[8] size[8] blksize[8] blocks[8] atime_sec[8] atime_nsec[8]
mtime_sec[8] mtime_nsec[8] ctime_sec[8] ctime_nsec[8] btime_sec[8]
btime_nsec[8] gen[8] data_version[8]
getattr gets attributes of the file system object represented by fid.
Fields§
§fid: u32
§request_mask: u64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tgetattr
impl RefUnwindSafe for Tgetattr
impl Send for Tgetattr
impl Sync for Tgetattr
impl Unpin for Tgetattr
impl UnwindSafe for Tgetattr
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