diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-02-20 11:47:25 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-02-20 12:50:32 +0100 |
commit | e0d33dae2f2ab70b936467590284030d759f9db7 (patch) | |
tree | 640189baa73af6d736b871b2bc4052f31086646a /.gitignore | |
parent | 0d162c3d9e6a220fe30768bedcb129bf04a2cc7b (diff) | |
download | ntw-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 '.gitignore')
0 files changed, 0 insertions, 0 deletions