aboutsummaryrefslogtreecommitdiff
path: root/nitrokey/src/config.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-09-09 21:24:59 +0200
committerRobin Krahl <robin.krahl@ireas.org>2020-09-09 21:55:23 +0200
commit70b9a1f0287f2aeda9677110106f43d1048306f3 (patch)
tree72c17539802d8355f5458201a77d97ae1baa62f5 /nitrokey/src/config.rs
parent80fbab0f4dcdd6e172fab00794fb943bbe81fa1e (diff)
downloadnitrocli-70b9a1f0287f2aeda9677110106f43d1048306f3.tar.gz
nitrocli-70b9a1f0287f2aeda9677110106f43d1048306f3.tar.bz2
Refactor find_device into find_devices
This patch refactors the find_device function that finds a Nitrokey device that matches the given filter or returns an error if there are no or multiple matching Nitrokey devices into the find_devices function that returns a vector with all matching Nitrokey devices. The check for exactly one matching device is now performed in the connect function.
Diffstat (limited to 'nitrokey/src/config.rs')
0 files changed, 0 insertions, 0 deletions