This is stabilising with rust-lang/rust#49255 in 1.26. I will probably add this after #258 has merged.