π¬This is a nightly-only experimental API. (
core_io #154046)Expand description
OS-dependent functions
Error needs OS functionalities to work interpret raw OS errors, but
we canβt link to anythink here in alloc. Therefore, we restrict
creation of Error from raw OS errors in std, and require providing
a vtable of operations when creating one.
StaticsΒ§
- OS_
FUNCTIONS πExperimental - These default functions are not reachable, but have them just to be safe.
FunctionsΒ§
- decode_
error_ πkind Experimental - format_
os_ πerror Experimental - get_
os_ πfunctions Experimental - is_
interrupted πExperimental - set_
functions π βExperimental - Safety