[−][src]Module rbatis_core::runtime
Modules
| fs | Filesystem manipulation operations. |
Structs
| Arc | A thread-safe reference-counting pointer. 'Arc' stands for 'Atomically Reference Counted'. |
| Mutex | An async mutex. |
| MutexGuard | A guard that releases the mutex when dropped. |
| Receiver | The receiving side of a channel. |
| RwLock | A reader-writer lock for protecting shared data. |
| RwLockReadGuard | A guard that releases the read lock when dropped. |
| RwLockWriteGuard | A guard that releases the write lock when dropped. |
| Sender | The sending side of a channel. |
| TcpStream | A TCP stream between a local and a remote socket. |
Traits
| AsyncRead | Read bytes asynchronously. |
| AsyncReadExt | Extension methods for |
| AsyncWrite | Write bytes asynchronously. |
Functions
| block_on | Spawns a task and blocks the current thread on its result. |
| channel | Creates a bounded multi-producer multi-consumer channel. |
| sleep | Sleeps for the specified amount of time. |
| spawn | Spawns a task. |
| spawn_blocking | Spawns a blocking task. |
| timeout | Awaits a future or times out after a duration of time. |
| yield_now | Cooperatively gives up a timeslice to the task scheduler. |