Module samotop_model::common[][src]

Modules

fmt

Utilities for formatting and printing Strings.

io

Asynchronous I/O

Macros

ready

Extracts the successful type of a Poll<T>.

Structs

Arc

A thread-safe reference-counting pointer. 'Arc' stands for 'Atomically Reference Counted'.

Context

The Context of an asynchronous task.

Pending

Creates a future which never resolves, representing a computation that never finishes.

Pin

A pinned pointer.

PollFn

A Future that wraps a function returning Poll.

Ready

Creates a future that is immediately ready with a value.

Enums

Poll

Indicates whether a value is available or if the current task has been scheduled to receive a wakeup instead.

Traits

IntoFutureExperimental

Conversion into a Future.

Future

A future represents an asynchronous computation.

Read

Read bytes asynchronously.

Stream

A stream of values produced asynchronously.

Write

Write bytes asynchronously.

Functions

pending

Creates a future which never resolves, representing a computation that never finishes.

poll_fn

TODO: Remove when poll_fn() is stabilized in std

ready

Type Definitions

Error
Result
S2Fut
S3Fut