[−][src]Crate smol_potat
Re-exports
pub use num_cpus; |
Modules
future | Combinators for the |
io | Tools and combinators for I/O. |
prelude | Async traits and their extensions. |
stream | Combinators for the |
Macros
pin | Pins a variable of type |
ready | Unwraps |
unblock | Runs blocking code on a thread pool. |
Structs
Async | Async I/O. |
Task | A spawned future. |
Timer | A timer that expires after a duration of time. |
Unblock | Runs blocking I/O on a thread pool. |
Functions
block_on | Starts a thread-local executor and then runs the future. |
run | Starts a thread-local and a multi-threaded executor and then runs the future. |
Attribute Macros
bench | Enables an async benchmark function. |
main | Enables an async main function. |
test | Enables an async test function. |