pub struct Metadata { /* private fields */ }
Implementations§
Source§impl Metadata
impl Metadata
Sourcepub fn accsessed(&self) -> Result<SystemTime>
pub fn accsessed(&self) -> Result<SystemTime>
Always returns Err because it is currently not supported in File System API.
Sourcepub fn created(&self) -> Result<SystemTime>
pub fn created(&self) -> Result<SystemTime>
Always returns Err because it is currently not supported in File System API.
pub fn is_dir(&self) -> bool
pub fn is_file(&self) -> bool
Sourcepub fn is_symlink(&self) -> bool
pub fn is_symlink(&self) -> bool
Always returns false because symlink is currently not supported in File System API.
pub fn len(&self) -> u64
Sourcepub fn modified(&self) -> Result<SystemTime>
pub fn modified(&self) -> Result<SystemTime>
Always returns Err because it is currently not supported in File System API.
pub fn permissions(&self) -> Permissions
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