Rust async abstraction pattern
Submitted by Erik Wegner
on
Since async traits are still under construction in the Rust language, this pattern can be used.