Struct errno::Errno [] [src]

pub struct Errno(pub c_int);

Wraps a platform-specific error code.

The Display instance maps the code to a human-readable string. It calls strerror_r under POSIX, and FormatMessageW on Windows.

Trait Implementations

impl Display for Errno

fn fmt(&self, fmt: &mut Formatter) -> Result

Derived Implementations

impl Debug for Errno

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialOrd for Errno

fn partial_cmp(&self, __arg_0: &Errno) -> Option<Ordering>

fn lt(&self, __arg_0: &Errno) -> bool

fn le(&self, __arg_0: &Errno) -> bool

fn gt(&self, __arg_0: &Errno) -> bool

fn ge(&self, __arg_0: &Errno) -> bool

impl PartialEq for Errno

fn eq(&self, __arg_0: &Errno) -> bool

fn ne(&self, __arg_0: &Errno) -> bool

impl Ord for Errno

fn cmp(&self, __arg_0: &Errno) -> Ordering

impl Eq for Errno

impl Clone for Errno

fn clone(&self) -> Errno

fn clone_from(&mut self, source: &Self)

impl Copy for Errno