Struct sharedlib::error::OsError [] [src]

pub struct OsError {
    // some fields omitted
}

An error which occurs when an operating system function fails.

Methods

impl OsError
[src]

fn new(cause: String, function_called: String) -> Self

Creates a new OsError.

Trait Implementations

impl Debug for OsError
[src]

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

Formats the value using the given formatter.

impl Display for OsError
[src]

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

Formats the value using the given formatter.

impl Error for OsError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

The lower-level cause of this error, if any. Read more