Function metadata

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