1 use async_trait::async_trait;
2 
3 #[async_trait]
4 pub trait Trait {
method()5     fn method();
6 }
7 
8 pub struct Struct;
9 
10 #[async_trait]
11 impl Trait for Struct {
method()12     async fn method() {}
13 }
14 
main()15 fn main() {}
16