pub struct Metadata { /* private fields */ }
Expand description
A file metadata
Because we can’t freely create a std::fs::Metadata
object we have to
implement our own structure.
Implementations§
source§impl Metadata
impl Metadata
sourcepub fn simple_type(&self) -> SimpleType
pub fn simple_type(&self) -> SimpleType
Returns simplified type of the directory entry
sourcepub fn permissions(&self) -> Permissions
pub fn permissions(&self) -> Permissions
Returns permissions of the entry