pub struct Meta { /* private fields */ }
Expand description
Metadata for the storage back-end
Trait Implementations§
Source§impl Metadata for Meta
impl Metadata for Meta
Source§fn is_symlink(&self) -> bool
fn is_symlink(&self) -> bool
Returns true if the path is a symbolic link.
Source§fn modified(&self) -> Result<SystemTime>
fn modified(&self) -> Result<SystemTime>
Returns the last modified time of the path.
Source§fn links(&self) -> u64
fn links(&self) -> u64
Returns the number of links to the file. The default implementation always returns
1
Source§fn permissions(&self) -> Permissions
fn permissions(&self) -> Permissions
Returns the
permissions
of the file. The default implementation assumes unix permissions
and defaults to “rwxr-xr-x” (octal 7755)Auto Trait Implementations§
impl Freeze for Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnwindSafe for Meta
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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