Struct core::future::Ready1.48.0[−][src]

#[must_use = "futures do nothing unless you `.await` or poll them"]
pub struct Ready<T>(_);
Expand description

创建一个立即准备好值的 future。

该 struct 由 ready() 创建。 有关更多信息,请参见其文档。

Trait Implementations

返回值的副本。 Read more

从 source 执行复制分配。 Read more

使用给定的格式化程序格式化该值。 Read more

完成时产生的值类型。

尝试将 future 解析为最终值,如果该值尚不可用,请注册当前任务以进行唤醒。 Read more

Auto Trait Implementations

Blanket Implementations

获取 self 的 TypeId。 Read more

从拥有的值中一成不变地借用。 Read more

从拥有的值中借用。 Read more

执行转换。

执行转换。

发生转换错误时返回的类型。

执行转换。

发生转换错误时返回的类型。

执行转换。