Struct tokio_timer::timeout::Error[][src]

pub struct Error<T>(_);

Error returned by Timeout.

Methods

impl<T> Error<T>
[src]

Create a new Error representing the inner value completing with Err.

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

Consumes self, returning the inner future error.

Create a new Error representing the inner value not completing before the deadline is reached.

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

Creates a new Error 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 Error<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Error> Error for Error<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 Error<T>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

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

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