Enum tokio_timer_futures2::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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter. Read more

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

[src]

Formats the value using the given formatter. Read more

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

[src]

Performs the conversion.

impl<T> From<TimeoutError<T>> for ()
[src]

[src]

Performs the conversion.

Auto Trait Implementations

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

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