[][src]Crate libatasmart

A library to interface with libatasmart-sys. For more information about libatasmart-sys see libatasmart-sys This library is useful for gathering ata smart information from your hard drives concerning their remaining lifetime. The underlying libatasmart doesn't expose every possible metric like smartmontools but it does expose a few important ones like bad sector count and overall status. This also has the advantage of avoiding CLI calls and scraping the text output which makes it more reliable and also a lot more performant!

Structs

Disk

Our ata smart disk

Enums

Err
SkSmartSelfTest