pub struct Stat {
pub st_mode: u32,
pub st_uid: u32,
pub st_gid: u32,
pub st_mtim_sec: i64,
pub xattrs: RefCell<BTreeMap<Box<OsStr>, Box<[u8]>>>,
}Expand description
File metadata similar to struct stat from POSIX.
Fields§
§st_mode: u32File mode and permissions bits.
st_uid: u32User ID of owner.
st_gid: u32Group ID of owner.
st_mtim_sec: i64Modification time in seconds since Unix epoch.
xattrs: RefCell<BTreeMap<Box<OsStr>, Box<[u8]>>>Extended attributes as key-value pairs.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Stat
impl !RefUnwindSafe for Stat
impl Send for Stat
impl !Sync for Stat
impl Unpin for Stat
impl UnwindSafe for Stat
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