4 ms·
Really minor thing, but I for instance like how in Hyper.rs types are used to enforce (at compile time) that one does not try to write headers after having star
by jononor 10y ago
Really minor thing, but I for instance like how in Hyper.rs types are used to enforce (at compile time) that one does not try to write headers after having started or sent the body of a response.
http://hyper.rs/hyper/v0.10.0/hyper/server/index.html#an-aside-write-status http://hyper.rs/hyper/v0.10.0/hyper/server/index.html#an-asi...
Good sign that we are starting to leverage the compiler to verify such invariants.