lfs-core 0.19.2

give information on mounted disks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use snafu::prelude::*;

#[cfg(unix)]
mod unix;
#[cfg(windows)]
mod windows;

#[cfg(unix)]
pub use unix::DeviceId;
#[cfg(windows)]
pub use windows::DeviceId;

#[derive(Debug, Snafu)]
#[snafu(display("Could not parse {string} as a device id"))]
pub struct ParseDeviceIdError {
    string: String,
}