Struct mates::cli::MainError [] [src]

pub struct MainError {
    // some fields omitted
}

Methods

impl MainError
[src]

fn new<T: Into<String>>(desc: T) -> Self

Trait Implementations

impl Debug for MainError
[src]

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

Formats the value using the given formatter.

impl Eq for MainError
[src]

impl PartialEq for MainError
[src]

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

This method tests for self and other values to be equal, and is used by ==. Read more

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

This method tests for !=.

impl Error for MainError
[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

impl Display for MainError
[src]

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

Formats the value using the given formatter.