Enum tokio_timer_futures2::TimerError
[−]
[src]
pub enum TimerError { TooLong, NoCapacity, }
The error type for timer operations.
Variants
TooLong
The requested timeout exceeds the timer's max_timeout
setting.
NoCapacity
The timer has reached capacity and cannot support new timeouts.
Trait Implementations
impl Debug for TimerError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for TimerError
[src]
fn clone(&self) -> TimerError
[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 PartialEq for TimerError
[src]
fn eq(&self, __arg_0: &TimerError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for TimerError
[src]
impl Display for TimerError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for TimerError
[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 From<TimerError> for Error
[src]
fn from(src: TimerError) -> Error
[src]
Performs the conversion.
impl From<TimerError> for ()
[src]
fn from(_: TimerError)
[src]
Performs the conversion.