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>
Available on neither NetBSD nor QNX Neutrino nor AIX nor WASI and neither VxWorks nor ESP-IDF nor Horizon nor Play Station Vita nor GNU/Hurd nor RTEMS OS nor NuttX only.
pub fn accessed(&self) -> Result<SystemTime>
Available on neither NetBSD nor QNX Neutrino nor AIX nor WASI and neither VxWorks nor ESP-IDF nor Horizon nor Play Station Vita nor GNU/Hurd nor RTEMS OS nor NuttX only.
pub fn created(&self) -> Result<SystemTime>
Available on neither NetBSD nor QNX Neutrino nor AIX nor WASI and neither FreeBSD nor OpenBSD nor Play Station Vita nor Apple nor Cygwin only.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileAttr
impl RefUnwindSafe for FileAttr
impl Send for FileAttr
impl Sync for FileAttr
impl Unpin for FileAttr
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)]const SIZE: usize = _
#[doc(hidden)]const SIZE: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)]const ALIGN: usize = _
#[doc(hidden)]const ALIGN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)]const ALIGNMENT: Alignment = _
#[doc(hidden)]const ALIGNMENT: Alignment = _
🔬This is a nightly-only experimental API. (
ptr_alignment_type #102070)Source§#[doc(hidden)]const IS_ZST: bool = _
#[doc(hidden)]const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)]const LAYOUT: Layout = _
#[doc(hidden)]const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)]const MAX_SLICE_LEN: usize = _
#[doc(hidden)]const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties)The largest safe length for a
[Self]. Read more