11.3.3. Future Trait


文档摘要

11.3.3. Future Trait rust use core::task::{Context, Poll}; trait Future { type Output; fn poll(self: Pin , cx: &mut Context ) -> Poll ; } rust enum Poll { Ready(T), Pending, } mermaid graph TD Pending… 会员。《11.3.3. Future Trait》收录于灏天文库文集《Rust》,提供技术教程、实践指南与问题解决方案,支持在线阅读、全文检索与知识沉淀,助力开发者系统化学习。文档编号39880。

该文档为会员专享,请先登录或注册后再查看


发布者: 作者: 转发
评论区 (0)
U