pub async fn usage<T>(path: T) -> Result<Usage>
where
    T: AsRef<Path>,
{
    sys::usage(path).await.map(Into::into)
}
/// Returns disk [Usage] statistics about the partition which contains the given `path`.
///
/// [Usage]: ./struct.Usage.html
Returns disk [Usage] statistics about the partition which contains the given `path`.
Returns disk [ Usage ] statistics about the partition which contains the given ` path ` .
pub async fn usage<T>(path: T) -> Result<Usage>
where
    T: AsRef<Path>,
{
    sys::usage(path).await.map(Into::into)
}
pub async fn usage < T > ( path : T ) -> Result < Usage > where T : AsRef < Path > , { sys :: usage ( path ) . await . map ( Into :: into ) }
Returns disk [Usage] statistics about the partition which contains the given `path`.
Returns disk [ Usage ] statistics about the partition which contains the given ` path ` .
path
T
path
T