Struct tokio_timer::DeadlineError[][src]

pub struct DeadlineError<T>(_);

Error returned by Deadline future.

Methods

impl<T> DeadlineError<T>
[src]

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

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

Consumes self, returning the inner future error.

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

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

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

Returns true if the error was caused by the timer.

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

Trait Implementations

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

Formats the value using the given formatter. Read more

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

This method is soft-deprecated. Read more

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

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for DeadlineError<T> where
    T: Send

impl<T> Sync for DeadlineError<T> where
    T: Sync