pub struct FileAttr {
stat: stat64,
statx_extra_fields: Option<StatxExtraFields>,
}
Fields§
§stat: stat64
§statx_extra_fields: Option<StatxExtraFields>
Implementations§
source§impl FileAttr
impl FileAttr
pub fn modified(&self) -> Result<SystemTime>
pub fn accessed(&self) -> Result<SystemTime>
pub fn created(&self) -> Result<SystemTime>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FileAttr
impl Send for FileAttr
impl Sync for FileAttr
impl Unpin for FileAttr
impl UnwindSafe for FileAttr
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