aboutsummaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-23 02:29:00 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-01-23 03:31:45 +0100
commit57e3c6bf010d51842cbc86a9801fd9baee1b22eb (patch)
tree006ee62941ddca15a3622992ee4c2714087a4140 /LICENSE
parent07bb11fec9de6579ffaa8d128796f242f818292f (diff)
downloadnitrokey-rs-57e3c6bf010d51842cbc86a9801fd9baee1b22eb.tar.gz
nitrokey-rs-57e3c6bf010d51842cbc86a9801fd9baee1b22eb.tar.bz2
Prevent direct instantiation of Pro and Storage
The Pro and Storage structs may only be created using the connect functions. This patch adds a private PhantomData field to the structs to ensure that the compiler does not allow direct instantiation.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions