Skip to main content

OsFunctions

Struct OsFunctions 

Source
#[doc(hidden)]
pub struct OsFunctions { pub format_os_error: fn(RawOsError, &mut Formatter<'_>) -> Result, pub decode_error_kind: fn(RawOsError) -> ErrorKind, pub is_interrupted: fn(RawOsError) -> bool, }
🔬This is a nightly-only experimental API. (core_io_internals)

Fields§

§format_os_error: fn(RawOsError, &mut Formatter<'_>) -> Result
🔬This is a nightly-only experimental API. (core_io_internals)
§decode_error_kind: fn(RawOsError) -> ErrorKind
🔬This is a nightly-only experimental API. (core_io_internals)
§is_interrupted: fn(RawOsError) -> bool
🔬This is a nightly-only experimental API. (core_io_internals)

Implementations§

Source§

impl OsFunctions

Source

const DEFAULT: &'static OsFunctions

🔬This is a nightly-only experimental API. (core_io #154046)

Trait Implementations§

Source§

impl Debug for OsFunctions

Source§

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

Formats the value using the given formatter. Read more