Enum tokio_timer::TimeoutError [] [src]

pub enum TimeoutError<T> {
    Timer(T, TimerError),
    TimedOut(T),
}

The error type for timeout operations.

Variants

An error caused by the timer

The operation timed out

Trait Implementations

impl<T: Clone> Clone for TimeoutError<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Display for TimeoutError<T>
[src]

Formats the value using the given formatter. Read more

impl<T> Debug for TimeoutError<T>
[src]

Formats the value using the given formatter.

impl<T> Error for TimeoutError<T>
[src]

A short description of the error. Read more

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