As seen in #227 and #195, our current approach to rustls_result is too easy to make mistakes with, and those mistakes lead to undefined behavior. We should try a different approach, either:
Use some static checking to ensure that (a) rustls_result is never a parameter of a function in the public API, and (b) rustls_result is never a return value of a callback.
As seen in #227 and #195, our current approach to rustls_result is too easy to make mistakes with, and those mistakes lead to undefined behavior. We should try a different approach, either: