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

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

This trait represents an error kind which TrackableError can have.

Provided methods

pub 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".

pub fn display(&self, f: &mut Formatter<'_>) -> Result<(), Error>[src]

Displays this kind.

The default implementation uses the debugging form of this.

Loading content...

Implementations on Foreign Types

impl ErrorKind for String[src]

impl ErrorKind for ErrorKind[src]

Loading content...

Implementors

impl ErrorKind for Failed[src]

Loading content...