Type Alias smbioslib::io::RawOsError

source ·
pub type RawOsError = i32;
🔬This is a nightly-only experimental API. (raw_os_error_ty)
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 asor into conversions where applicable to ensure maximum portability.

Trait Implementations§

1.0.0 · source§

impl Binary for i32

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
1.0.0 · source§

impl Debug for i32

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
1.0.0 · source§

impl Display for i32

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
1.42.0 · source§

impl LowerExp for i32

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
1.0.0 · source§

impl LowerHex for i32

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
1.0.0 · source§

impl Octal for i32

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
1.42.0 · source§

impl UpperExp for i32

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
1.0.0 · source§

impl UpperHex for i32

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.