[][src]Trait trackable::error::ErrorKind

pub trait ErrorKind: Debug {
    fn description(&self) -> &str { ... }
fn display(&self, f: &mut Formatter) -> Result { ... } }

This trait represents an error kind which TrackableError can have.

Provided methods

fn description(&self) -> &str

A short description of the error kind.

This is used for the description of the error that contains it.

The default implementation always returns "An error".

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

Displays this kind.

The default implementation uses the debugging form of this.

Loading content...

Implementations on Foreign Types

impl ErrorKind for ErrorKind[src]

impl ErrorKind for String[src]

Loading content...

Implementors

impl ErrorKind for Failed[src]

Loading content...