pub struct Metadata { /* private fields */ }
Implementations§
Source§impl Metadata
impl Metadata
pub fn filepath(&self) -> &str
pub fn size(&self) -> i64
pub fn nodetype(&self) -> u32
pub fn perm(&self) -> c_uint
pub fn ctime(&self) -> i64
pub fn ctime_nano(&self) -> i64
pub fn atime(&self) -> i64
pub fn atime_nano(&self) -> i64
pub fn mtime(&self) -> i64
pub fn mtime_nano(&self) -> i64
pub fn owner(&self) -> c_uint
pub fn group(&self) -> c_uint
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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