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

#[must_use = "futures do nothing unless you `.await` or poll them"]
pub struct Pending<T> { /* fields omitted */ }
Expand description

创建一个永不解析的 future,表示永不结束的计算。

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

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

执行转换。

执行转换。

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

执行转换。

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

执行转换。