extern-trait 0.4.3

Opaque types for traits using static dispatch
Documentation
1
2
3
4
5
6
7
8
use extern_trait::extern_trait;

#[extern_trait(BadProxy)]
trait Bad {
    async fn value(&self) -> i32;
}

fn main() {}