diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-27 15:04:19 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-07-08 21:27:03 +0000 |
commit | a52676d9577f587e0f4d8e47ddc71ba34f0b31ca (patch) | |
tree | e7388f2dfd391572bf92fce943748bec70d5e5d4 /LICENSE | |
parent | 445e920986db276d0c5c39709aa76dd290773e8f (diff) | |
download | nitrokey-rs-a52676d9577f587e0f4d8e47ddc71ba34f0b31ca.tar.gz nitrokey-rs-a52676d9577f587e0f4d8e47ddc71ba34f0b31ca.tar.bz2 |
Add ConcurrentAccessError and PoisonError variants
This patch prepares the refactoring of the connection methods by
introducing the Error variants ConcurrentAccessError and PoisonError.
ConcurrentAccessError indicates that the user tried to connect to
obtain a token that is currently locked, and PoisonError indicates that
a lock has been poisoned, i. e. a thread panicked while accessing using
a token.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions