pub fn file_space_usage(file: &File) -> Result<FileSpaceUsage>Expand description
Return logical and physically allocated bytes for a retained regular-file handle.
The descriptor is the sole authority: this function never resolves or reopens a pathname. Unsupported platforms and native values that cannot be represented safely fail closed.