[][src]Function tokio_xattr::list

pub async fn list<P>(path: P) -> Result<XAttrs> where
    P: AsRef<Path>, 

List extended attributes attached to the specified file.

Examples

let xattrs = tokio_xattr::list(".").await?;
for attr in xattrs {
    println!("attr_name={:?}", attr);
}