diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-12-30 00:04:49 +0100 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2018-12-30 00:04:49 +0100 |
commit | 1c6b4d4dfd498c4127a076c48b6c37e05eaacb62 (patch) | |
tree | acd8c4935c1894a4e26ffd2d6c23a435c07931ec /LICENSE | |
parent | 62d698db4941c06905cb08bdbe4cc35ad54132d5 (diff) | |
download | nitrokey-rs-1c6b4d4dfd498c4127a076c48b6c37e05eaacb62.tar.gz nitrokey-rs-1c6b4d4dfd498c4127a076c48b6c37e05eaacb62.tar.bz2 |
Derive Clone and Copy for CommandError, LogLevel, OtpMode
As these three enums are scalar values, this patch derives the Clone and
Copy traits for them. This should avoid unnecessary allocations and
reduce the memory footprint.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions