:::info Rust标准库 std::task::* 是用来处理异步任务的 Types 以及 Traits。 ::: 包含一下四个模块: Macros:实验中的宏 ready Structs:Context以及Waker ContextRawWakerRawWakerVTableWaker Enums:Poll枚举,用来表示异步任务的状态 Poll::{Pending,Ready} Traits:用户实现自定义Waker Wake