Closed PonasKovas closed 3 years ago
This is not an async-trait-specific issue. Self
needs to be Sized
to define a trait method that returns Self
.
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=7d562b9a2880ae6c167b2588caea4098
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=f1ef3f4e382da8479816df9be24399c1