Enum tokio_timer::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]
impl<T: Clone> Clone for TimeoutError<T>fn clone(&self) -> TimeoutError<T>[src]
fn clone(&self) -> TimeoutError<T>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
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]
impl<T> Display for TimeoutError<T>fn fmt(&self, fmt: &mut Formatter) -> Result[src]
fn fmt(&self, fmt: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T> Debug for TimeoutError<T>[src]
impl<T> Debug for TimeoutError<T>fn fmt(&self, fmt: &mut Formatter) -> Result[src]
fn fmt(&self, fmt: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T> Error for TimeoutError<T>[src]
impl<T> Error for TimeoutError<T>fn description(&self) -> &str[src]
fn description(&self) -> &strA short description of the error. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
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]
impl<T> From<TimeoutError<T>> for Errorfn from(src: TimeoutError<T>) -> Error[src]
fn from(src: TimeoutError<T>) -> ErrorPerforms the conversion.
impl<T> From<TimeoutError<T>> for ()[src]
impl<T> From<TimeoutError<T>> for ()fn from(_: TimeoutError<T>)[src]
fn from(_: TimeoutError<T>)Performs the conversion.
Auto Trait Implementations
impl<T> Send for TimeoutError<T> where
T: Send,
impl<T> Send for TimeoutError<T> where
T: Send, impl<T> Sync for TimeoutError<T> where
T: Sync,
impl<T> Sync for TimeoutError<T> where
T: Sync,