[][src]Module samotop_core::common

Modules

future

Asynchronous values.

stream

Asynchronous streams.

Macros

ready

Extracts the successful type of a Poll<T>.

Structs

Arc

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

Bytes

A reference counted contiguous slice of memory.

Context

The Context of an asynchronous task.

Pin

A pinned pointer.

Enums

Poll

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

Traits

Future

A future represents an asynchronous computation.

FutureExt

An extension trait for Futures that provides a variety of convenient adapters.

Read

Read bytes asynchronously.

ReadExt

An extension trait which adds utility methods to AsyncRead types.

Sink

A Sink is a value into which other values can be sent, asynchronously.

Stream

A stream of values produced asynchronously.

StreamExt

An extension trait for Streams that provides a variety of convenient combinator functions.

TryFutureExt

Adapters specific to Result-returning futures

Write

Write bytes asynchronously.

WriteExt

An extension trait which adds utility methods to AsyncWrite types.

Type Definitions

Error
Result

Attribute Macros

pin_project

An attribute that creates projection types covering all the fields of struct or enum.