Module samotop_model::common [−][src]
Modules
fmt | Utilities for formatting and printing |
io | Asynchronous I/O |
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
IntoFuture | Experimental Conversion into a |
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 |