Struct futures_delay_queue::DelayHandle[][src]

pub struct DelayHandle { /* fields omitted */ }
Expand description

A handle to cancel the corresponding delay of an item in DelayQueue.

Implementations

Resets the delay of the corresponding item to when and returns a new DelayHandle on success.

Resets the delay of the corresponding item to now + dur and returns a new DelayHandleon success.

Cancels the delay.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.