summaryrefslogtreecommitdiff
path: root/src/misc.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-12-30 00:04:49 +0100
committerRobin Krahl <robin.krahl@ireas.org>2018-12-30 00:04:49 +0100
commit1c6b4d4dfd498c4127a076c48b6c37e05eaacb62 (patch)
treeacd8c4935c1894a4e26ffd2d6c23a435c07931ec /src/misc.rs
parent62d698db4941c06905cb08bdbe4cc35ad54132d5 (diff)
downloadnitrokey-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 'src/misc.rs')
0 files changed, 0 insertions, 0 deletions