首页 时政热点 科技头条 智能AI 安全攻防 数码硬件 开发者生态 汽车 游戏 社会热点 开源推荐 医疗健康 归档 标签 关于

Rust 项目目标:固定类型和有保证的析构函数

摘要

Immobile types and guaranteed destructors Metadata Point of contact @lcnr Status Accepted What and why Let types opt out of being moved or forgotten, enabling scoped spawn, async drop, and pin-by-defa...

2026-08-03 1 阅读 约1分钟阅读 paavohtl
分享:
字号:
【HN用户评论摘要】 作为一个从未接触过异步 Rust 的人,有人可以向我解释一下吗?这将允许什么样的有用模式? 原始链接:https://github.com/rust-lang/rust-project-goals/blob/main/src/2026/move-trait.md
这篇文章对您有帮助吗?

订阅66必读

每日精选科技资讯,直达你的邮箱