diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-01-14 13:48:56 +0100 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2020-01-14 16:53:45 +0100 |
commit | f266ea63039c87886f871b068ef3dcdf851a1eca (patch) | |
tree | 35780d1b6137768d6f2ec3780b071fa278330e92 /src/lib.rs | |
parent | eb04dafce313ff5349b1c93d8d87cb53ba320e7e (diff) | |
download | nitrokey-rs-f266ea63039c87886f871b068ef3dcdf851a1eca.tar.gz nitrokey-rs-f266ea63039c87886f871b068ef3dcdf851a1eca.tar.bz2 |
Add the get_operation_status function to the Storage struct
This patch adds support for the NK_get_progress_bar_value function: It
adds the OperationStatus enum that stores the return value of this
command and adds the get_operation_status function to the Storage struct
that executes the command.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -126,7 +126,7 @@ use nitrokey_sys; pub use crate::auth::{Admin, Authenticate, User}; pub use crate::config::Config; pub use crate::device::{ - Device, DeviceInfo, DeviceWrapper, Model, Pro, SdCardData, Status, Storage, + Device, DeviceInfo, DeviceWrapper, Model, OperationStatus, Pro, SdCardData, Status, Storage, StorageProductionInfo, StorageStatus, VolumeMode, VolumeStatus, }; pub use crate::error::{CommandError, CommunicationError, Error, LibraryError}; |