Movatterモバイル変換


[0]ホーム

URL:


Module future

std

Modulefuture 

1.36.0 ·Source
Expand description

Asynchronous basic functionality.

Please see the fundamentalasync andawait keywords and theasync bookfor more information on asynchronous programming in Rust.

Macros§

joinExperimental
Polls multiple futures simultaneously, returning a tupleof all results once complete.

Structs§

Pending
Creates a future which never resolves, representing a computation that neverfinishes.
PollFn
A Future that wraps a function returningPoll.
Ready
A future that is immediately ready with a value.

Traits§

Future
A future represents an asynchronous computation, commonly obtained by use ofasync.
IntoFuture
Conversion into aFuture.
AsyncDropExperimental
Async version of Drop trait.

Functions§

pending
Creates a future which never resolves, representing a computation that neverfinishes.
poll_fn
Creates a future that wraps a function returningPoll.
ready
Creates a future that is immediately ready with a value.
async_drop_in_placeExperimental
Async drop.

[8]ページ先頭

©2009-2026 Movatter.jp