heim_disk

Function partitions

Source
pub fn partitions() -> impl Stream<Item = Result<Partition>>
Expand description

Returns stream which yields mounted disk Partitions.

This includes all virtual partitions, such as tmpfs. See partitions_physical for physical partitions stream.