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

pub struct Failure(_);

TrackableError type specialized for Failed.

Methods

impl Failure
[src]

[src]

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

Methods from Deref<Target = TrackableError<Failed>>

[src]

Returns the kind of this error.

[src]

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]

[src]

Formats the value using the given formatter.

impl Clone for Failure
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Deref for Failure
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl Display for Failure
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Failure
[src]

[src]

A short description of the error. Read more

[src]

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.

[src]

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

[src]

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

[src]

Enables tracking of this instance.

[src]

Disables tracking of this intance.

[src]

Returns the reference of the tracking history of this instance.

[src]

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

[src]

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

[src]

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

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

[src]

Performs the conversion.

impl From<Failed> for Failure
[src]

[src]

Performs the conversion.