Modules§
- futex
- kernel_
copy - This module contains specializations that can offload
io::copy()
operations on file descriptor containing types (File
,TcpStream
, etc.) to more efficient syscalls thanread(2)
andwrite(2)
. - linux
- os
- Implementation of
std::os
functionality for unix systems - pipe
- stack_
overflow - thread
- time
- weak
- Support for “weak linkage” to symbols on Unix
Macros§
Statics§
Traits§
Functions§
- abort_
internal - cleanup⚠
- cvt
- Converts native return values to Result using the -1 means error is in
errno
convention. Non-error values areOk
-wrapped. - cvt_nz
- Zero means
Ok()
, all other values are treated as raw OS errors. Does not look aterrno
. - cvt_r
-1
→ look aterrno
→ retry onEINTR
. OtherwiseOk()
-wrap the closure return value.- decode_
error_ kind - init⚠
- is_
interrupted 🔒 - on_
broken_ 🔒pipe_ flag_ used - signal⚠