RawOsError in std::io - Rust
Description: The type of raw OS error codes returned by `Error::raw_os_error`.

## RawOsError

# Type Alias RawOsError

Source

    pub type RawOsError = i32;

🔬This is a nightly-only experimental API. (`raw_os_error_ty` #107792)
Expand description

The type of raw OS error codes returned by `Error::raw_os_error`.

This is an `i32` on all currently supported platforms, but platforms added in the future (such as UEFI) may use a different primitive type like `usize`. Use `as`or `into` conversions where applicable to ensure maximum portability.