Pin::new_unchecked を手動で呼び出すと、自己参照の安全性が破られる可能性があります。 async unsafe fn はスレッド間のデータ競合を引き起こす可能性があります。 Rust の設計理念は「unsafe コードは明示的にマークし、最小化すべき」です。
pin_project! macro creates a projection type covering all the fields of struct. To use pin_project! on enums, you need to name the projection type returned from the method. pin-project-lite guarantees ...
pin_project! macro creates a projection type covering all the fields of struct. To use pin_project! on enums, you need to name the projection type returned from the method. pin-project-lite guarantees ...