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