summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-01-14 13:48:56 +0100
committerRobin Krahl <robin.krahl@ireas.org>2020-01-14 16:53:45 +0100
commitf266ea63039c87886f871b068ef3dcdf851a1eca (patch)
tree35780d1b6137768d6f2ec3780b071fa278330e92 /src/lib.rs
parenteb04dafce313ff5349b1c93d8d87cb53ba320e7e (diff)
downloadnitrokey-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.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 41c99c5..c6c3ff5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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};