What's a good way to measure different phases of HTTP request timings in Rust?

As for time to first byte, you might be able to use something like this.