- Published on
Article · Through the layers
Lending Async Callbacks With Rust's AsyncFn Traits
The usual Fn(&T) -> Fut bound cannot describe a future borrowing from each call. See how AsyncFn enables lending callbacks on stable Rust.
Article · Through the layers