Struct OsFunctions

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 }

Fields

format_os_error: fn(RawOsError, &mut Formatter<'_>) -> Result
decode_error_kind: fn(RawOsError) -> ErrorKind
is_interrupted: fn(RawOsError) -> bool

Implementations

impl OsFunctions

const DEFAULT: &'static OsFunctions = _;

Trait Implementations

impl Debug for OsFunctions

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