Struct simple_error::SimpleError [] [src]

pub struct SimpleError {
    // some fields omitted
}

Methods

impl SimpleError
[src]

fn new<T: Into<String>>(t: T) -> SimpleError

fn from<T: Error>(t: T) -> SimpleError

Trait Implementations

impl Eq for SimpleError
[src]

impl PartialEq for SimpleError
[src]

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

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

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

This method tests for !=.

impl Debug for SimpleError
[src]

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

Formats the value using the given formatter.

impl Clone for SimpleError
[src]

fn clone(&self) -> SimpleError

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Display for SimpleError
[src]

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

Formats the value using the given formatter.

impl Error for SimpleError
[src]

fn description(&self) -> &str

A short description of the error. Read more

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

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