Struct tokio_timer::Error [] [src]

pub struct Error(_);

Errors encountered by the timer implementation.

Currently, there are two different errors that can occur:

Methods

impl Error
[src]

Create an error representing a shutdown timer.

Returns true if the error was caused by the timer being shutdown.

Create an error representing a timer at capacity.

Returns true if the error was caused by the timer being at capacity.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error