Enum tokio_timer_futures2::TimeoutError
[−]
[src]
pub enum TimeoutError<T> { Timer(T, TimerError), TimedOut(T), }
The error type for timeout operations.
Variants
Timer(T, TimerError)
An error caused by the timer
TimedOut(T)
The operation timed out
Trait Implementations
impl<T: Clone> Clone for TimeoutError<T>
[src]
fn clone(&self) -> TimeoutError<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T> Display for TimeoutError<T>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T> Debug for TimeoutError<T>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T> Error for TimeoutError<T>
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more
impl<T> From<TimeoutError<T>> for Error
[src]
fn from(src: TimeoutError<T>) -> Error
[src]
Performs the conversion.
impl<T> From<TimeoutError<T>> for ()
[src]
fn from(_: TimeoutError<T>)
[src]
Performs the conversion.
Auto Trait Implementations
impl<T> Send for TimeoutError<T> where
T: Send,
T: Send,
impl<T> Sync for TimeoutError<T> where
T: Sync,
T: Sync,