diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-12-30 00:04:23 +0100 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2018-12-30 00:04:23 +0100 |
commit | 3d951ab54daea9c362bdae2e0945701955c412e5 (patch) | |
tree | feeee31249946184590ada8ec378aef2eb8a4382 /src/lib.rs | |
parent | e2d333574f54bf57a1bba970dbbfe5844ef8bf0d (diff) | |
download | nitrokey-rs-3d951ab54daea9c362bdae2e0945701955c412e5.tar.gz nitrokey-rs-3d951ab54daea9c362bdae2e0945701955c412e5.tar.bz2 |
Add function Device::get_model
This patch adds the function Device::get_model that returns the model of
the connected Nitrokey stick.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ use nitrokey_sys; pub use crate::auth::{Admin, Authenticate, User}; pub use crate::config::Config; -pub use crate::device::{connect, Device, DeviceWrapper, Pro, Storage, StorageStatus, VolumeStatus}; +pub use crate::device::{connect, Device, DeviceWrapper, Model, Pro, Storage, StorageStatus, VolumeStatus}; pub use crate::otp::{ConfigureOtp, GenerateOtp, OtpMode, OtpSlotData}; pub use crate::pws::{GetPasswordSafe, PasswordSafe, SLOT_COUNT}; pub use crate::util::{CommandError, LogLevel}; |