Module samotop_core::common
source · [−]Modules
Macros
Polls multiple futures simultaneously, returning a tuple of all results once complete.
Extracts the successful type of a Poll<T>
.
Structs
A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
The Context
of an asynchronous task.
Creates a future which never resolves, representing a computation that never finishes.
A pinned pointer.
A future that is immediately ready with a value.
Enums
Indicates whether a value is available or if the current task has been scheduled to receive a wakeup instead.
Traits
Conversion into a Future
.
A future represents an asynchronous computation.
Functions
Creates a future which never resolves, representing a computation that never finishes.
Creates a future that is immediately ready with a value.
In the absence of random number generator produces a time based identifier It is not reliable nor secure, RNG/PRNG should be preffered.