Crate rasi_syscall
source ·Modules§
- Cross-platform path manipulation that port from
async_std::path
Structs§
- A bitmask for open file.
- A transparent type pointer that represents any implementation-related asynchronous system type.
Enums§
- The returns type of
WouldBlock
operations.
Traits§
- Executor
executor
Future task system call interface. - Filesystem-related system call interface
- Network
net
Network-related system call interface - Timer
time
Timer-related system call interface
Functions§
- global_executor
executor
Get the globally registered instance ofExecutor
. - Get the globally registered instance of
FileSystem
. - Get the globally registered instance of
Network
. - global_timer
time
Get the globally registered instance ofTimer
. - Create a ready status of
CancelablePoll
fromF: FnOnce() -> T
. - register_global_executor
executor
Register providedExecutor
as global executor implementation. - Register provided
FileSystem
as global filesystem implementation. - Register provided
Network
as global network implementation. - Register provided
Timer
as global timer implementation. - syscall_block_on
executor
Run a future to completion on the current thread. - syscall_spawn
executor
Spawns a task that polls the given future with output () to completion.