Struct simple_clock::Deadline[][src]

pub struct Deadline<'a, C: SimpleClock> { /* fields omitted */ }
Expand description

Provides an easy way to specify operation deadline

This timer is usually used to limit polling operation by a certain period of time.

Implementations

Creates a new deadline timer instance backed by the specified clock implementation

Returns error if the deadline has been reached.

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.