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