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 /CHANGELOG.md | |
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 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7623a33..046b609 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,8 @@ SPDX-License-Identifier: MIT - Update the `nitrokey-sys` dependency to version 3.5.0. - Update the `nitrokey-test` dependency to version 0.2.1 and add the `nitrokey-test-state` dependency in version 0.1.0. +- Refactor connection management: + - Add `ConcurrentAccessError` and `PoisonError` `Error` variants. # v0.3.4 (2019-01-20) - Fix authentication methods that assumed that `char` is signed. |