metadata

Function metadata 

Source
pub async fn metadata(path: impl AsRef<Path>) -> Result<Metadata>
Expand description

Get metadata for a file or directory.