Struct trackable::error::Failure [] [src]

pub struct Failure(_);

TrackableError type specialized for Failed.

Methods

impl Failure
[src]

Makes a new Failure instance which was caused by the error.

Methods from Deref<Target = TrackableError<Failed>>

Returns the kind of this error.

Tries to return the cause of this error as a value of T type.

If neither this error has a cause nor it is an T value, this method will return None.

Trait Implementations

impl Debug for Failure
[src]

Formats the value using the given formatter.

impl Clone for Failure
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Deref for Failure
[src]

The resulting type after dereferencing

The method called to dereference a value

impl Display for Failure
[src]

Formats the value using the given formatter. Read more

impl Error for Failure
[src]

A short description of the error. Read more

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

impl Trackable for Failure
[src]

Event type which a history of an instance of this type can have.

Assigns a randomly generated tracking number to this instance. Read more

Returns the tracking number of this instance if it has been assigned.

Enables tracking of this instance.

Disables tracking of this intance.

Returns the reference of the tracking history of this instance.

Returns the mutable reference of the tracking history of this instance.

Add an event into the tail of the history of this instance. Read more

Returns true if tracking of this instance is enabled, otherwise false.

impl From<TrackableError<Failed>> for Failure
[src]

Performs the conversion.

impl From<Failed> for Failure
[src]

Performs the conversion.