pub fn available_space(path: &Path) -> Option<u64>
Free bytes on the partition hosting path (or its nearest existing ancestor).
path
Returns None if the available space cannot be determined.
None