diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-23 02:29:00 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-23 03:31:45 +0100 |
commit | 57e3c6bf010d51842cbc86a9801fd9baee1b22eb (patch) | |
tree | 006ee62941ddca15a3622992ee4c2714087a4140 /.builds | |
parent | 07bb11fec9de6579ffaa8d128796f242f818292f (diff) | |
download | nitrokey-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 '.builds')
0 files changed, 0 insertions, 0 deletions