hdd_standby

Documentation

Libray to check the power state of a hdd using ioctls. Currently only supported on unix.

Example

```rust extern crate hdd_standby;

fn main() { let status = hddstandby::getpowerstate("/dev/sda"); println!("{:?}", status.unwrapor(PowerState::Unknown)); } ```

Licence

This library is licenced under the terms of the MIT licence.