Enum tokio::prelude::future::Loop [] [src]

pub enum Loop<T, S> {
    Break(T),
    Continue(S),
}

The status of a loop_fn loop.

Variants

Indicates that the loop has completed with output T.

Indicates that the loop function should be called again with input state S.

Trait Implementations

impl<T, S> Debug for Loop<T, S> where
    S: Debug,
    T: Debug
[src]

[src]

Formats the value using the given formatter. Read more