Future trait 在Rust 非同步程式設計中扮演關鍵角色。 ... fn poll(&mut self, wake: fn()) -> Poll<Self::Output>; } enum Poll<T> { Ready(T), Pending, } }.
確定! 回上一頁