pub struct PollFn<F> { /* fields omitted */ }
future_poll_fn
Future,它包装返回 Poll 的函数。
Poll
该 struct 由 poll_fn() 创建。 有关更多信息,请参见其文档。
struct
poll_fn()
使用给定的格式化程序格式化该值。 Read more
完成时产生的值类型。
尝试将 future 解析为最终值,如果该值尚不可用,请注册当前任务以进行唤醒。 Read more
获取 self 的 TypeId。 Read more
self
TypeId
从拥有的值中一成不变地借用。 Read more
从拥有的值中借用。 Read more
执行转换。
发生转换错误时返回的类型。