Rust's trait system doesn't allow async methods in traits. The async-trait crate solves this by returning boxed futures. For most cases async-trait works ...
確定! 回上一頁