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

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

This trait represents a error kind which TrackableError can have.

Provided Methods

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

Displays this kind.

The default implementation uses the debugging form of this.

Returns whether the error of this kind is needed to be tracked.

The default implementation always returns true.

Returns whether the error of this kind is needed to be assigned a tracking number automatically.

The default implementation always returns false.

Implementors