Module pendulum::future [] [src]

Futures based runtime for a Pendulum.

Structs

Heartbeat

Heartbeat that will ensure an item is yielded after at least Duration.

Sleep

Sleep future that will wait Duration before yielding.

SleepStream

SleepStream that will wait Duration before each yield.

TimedOut

Indicates a timeout has occurred.

Timeout

Timeout future that will ensure an item or error is yielded after at least Duration.

TimeoutStream

TimeoutStream that will ensure an item or error is yielded after at least Duration.

Timer

Timer for which different futures based timers can be created.

TimerBuilder

Builder for configuring and constructing instances of Timer.

Enums

TimeoutStatus

Convenience enum for mapping an Item/Error to something implementing From<TimedOut>.