dynosaur lets you use dynamic dispatch on traits with async fn and
methods returning impl Trait.
The macro above generates a type called DynNext which can be used like this:
async
let a = ;
dyn_dispatch.await;
The general rule is that anywhere you would write dyn Trait (which would
result in a compiler error), you instead write DynTrait.
Methods returning impl Trait box their return types when dispatched
dynamically, but not when dispatched statically.
License and usage notes
Licensed under either of Apache License, Version 2.0 or MIT license at your option.