summaryrefslogtreecommitdiff
path: root/src/util.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-23 04:36:57 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-01-23 05:38:30 +0100
commitb00bbaa5603504597729ed2ce0d1e8ff50ea078d (patch)
tree27af8fa4359afbe0f61a93982203657727a76623 /src/util.rs
parentd4663961c41a0fb6f81f4a54aefd0fedce49d350 (diff)
downloadnitrokey-rs-b00bbaa5603504597729ed2ce0d1e8ff50ea078d.tar.gz
nitrokey-rs-b00bbaa5603504597729ed2ce0d1e8ff50ea078d.tar.bz2
Implement From<(T: Device, Error)> for Error
Not all users of the authenticate methods want to use the device after an error, so implementing From<(T: Device, Error)> for Error makes it easier for them to discard the device.
Diffstat (limited to 'src/util.rs')
0 files changed, 0 insertions, 0 deletions