Struct tokio_timer::DeadlineError [] [src]

pub struct DeadlineError<T>(_);

Error returned by Deadline future.

Methods

impl<T> DeadlineError<T>
[src]

[src]

Create a new DeadlineError representing the inner future completing with Err.

[src]

Returns true if the error was caused by the inner future completing with Err.

[src]

Consumes self, returning the inner future error.

[src]

Create a new DeadlineError representing the inner future not completing before the deadline is reached.

[src]

Returns true if the error was caused by the inner future not completing before the deadline is reached.

[src]

Creates a new DeadlineError representing an error encountered by the timer implementation

[src]

Returns true if the error was caused by the timer.

[src]

Consumes self, returning the error raised by the timer implementation.

Trait Implementations

impl<T: Debug> Debug for DeadlineError<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Error> Error for DeadlineError<T>
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

impl<T: Display> Display for DeadlineError<T>
[src]

[src]

Formats the value using the given formatter. Read more