[][src]Function tokio::fs::metadata

pub async fn metadata(path: impl AsRef<Path>) -> Result<Metadata>
This is supported on feature="fs" only.

Queries the file system metadata for a path.