Study note
std::pin - Rust
Properties
- Type
- Blogs
- Status
- 待读
- Domain
- Rust
- Category
- 性能、内存与底层机制
- Source
- doc.rust-lang.org
- Vault note
library/articles/rust/std-pin---Rust-7a472290092d2651.md
Summary
Rust 标准库 `std::pin` 官方文档,解释 `Pin`、`Unpin`、自引用类型、移动语义和 unsafe pinning API。
Highlights
适合深入 async Rust 前反复阅读,因为 Pin 是理解 Future 状态机和自引用安全的关键。
Comments
Loading comments...