4 ms·
>The most far-fetched crate there would be pin-project I think, because a lot of other work would have to be done to make Rust async code work in the kernel. P
by Arnavion 5y ago
>The most far-fetched crate there would be pin-project I think, because a lot of other work would have to be done to make Rust async code work in the kernel.
Pin's usefulness is not limited to async. Any type that contains a pointer relative to itself benefits from being wrapped in it to avoid accidental misuse.