summaryrefslogtreecommitdiff
path: root/src/tests/device.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-05-28 20:32:10 +0000
committerRobin Krahl <robin.krahl@ireas.org>2018-05-28 22:33:57 +0200
commit8f7eb1679fa988ad97b0e6dbe0ef5d1edef18351 (patch)
treedc1735d256383e194189fc586d10ebe5750eaee6 /src/tests/device.rs
parent15706f8708af4175a5376026cdd7c6f821945a5d (diff)
downloadnitrokey-rs-8f7eb1679fa988ad97b0e6dbe0ef5d1edef18351.tar.gz
nitrokey-rs-8f7eb1679fa988ad97b0e6dbe0ef5d1edef18351.tar.bz2
Restructure trait implementations for wrappers
For DeviceWrapper, the traits GenerateOtp and Device are now directly implemented instead of complicated template implementations. For User and Admin, the wrapper implementations are replaced with an implementation of the Deref trait for easier access.
Diffstat (limited to 'src/tests/device.rs')
0 files changed, 0 insertions, 0 deletions