Struct tokio_timer_futures2::Interval [] [src]

pub struct Interval { /* fields omitted */ }

A stream representing notifications at fixed interval

Intervals are created through Timer::interval.

Trait Implementations

impl Debug for Interval
[src]

[src]

Formats the value using the given formatter. Read more

impl Stream for Interval
[src]

Values yielded by the stream.

Errors yielded by the stream.

[src]

Attempt to pull out the next value of this stream, registering the current task for wakeup if the value is not yet available, and returning None if the stream is exhausted. Read more

Auto Trait Implementations

impl Send for Interval

impl Sync for Interval