aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-02-20 11:47:25 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-02-20 12:50:32 +0100
commite0d33dae2f2ab70b936467590284030d759f9db7 (patch)
tree640189baa73af6d736b871b2bc4052f31086646a /etc
parent0d162c3d9e6a220fe30768bedcb129bf04a2cc7b (diff)
downloadntw-e0d33dae2f2ab70b936467590284030d759f9db7.tar.gz
ntw-e0d33dae2f2ab70b936467590284030d759f9db7.tar.bz2
Add static assertions for Request and Response size
The Request and Response types have to have a size of 64 bytes. Previously, we only verified this property by visual inspection. Accidental changes to the size could lead to runtime errors. This patch adds static assertions using the static_assertions crate to enforce this property at compile time.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions