Property-based testing in Rust with Proptest

Property-based testing isn’t always the answer, but the very act of considering your code’s abstract properties can help you understand it better. Read more


Returning Trait Objects in Rust

This is a fairly basic Rust syntax issue that I’ve run into several times. Based on unknowable runtime conditions, I will return one of several different return types from the same function. Also, this return type must use methods from two traits. How can... (more…)

Read more »