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

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[src]

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[src]

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

Loading content...