[−][src]Module samotop_core::common
Modules
future | Asynchronous values. |
stream | Asynchronous streams. |
Macros
ready | Extracts the successful type of a |
Structs
Arc | A thread-safe reference-counting pointer. 'Arc' stands for 'Atomically Reference Counted'. |
Context | The |
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 |
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
BufRead | Read bytes asynchronously. |
IntoFuture | Experimental Conversion into a |
Future | A future represents an asynchronous computation. |
FutureExt | An extension trait for |
Read | Read bytes asynchronously. |
ReadExt | An extension trait which adds utility methods to |
Stream | A stream of values produced asynchronously. |
StreamExt | An extension trait for |
TryFutureExt | Adapters specific to |
Write | Write bytes asynchronously. |
WriteExt | An extension trait which adds utility methods to |
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
BoxFuture | An owned dynamically typed |
Error | |
Result | |
S2Fut | |
S3Fut | |
SendFut |
Attribute Macros
pin_project | An attribute that creates projection types covering all the fields of struct or enum. |