Enum futures::future::Loop
[−]
[src]
pub enum Loop<T, S> { Break(T), Continue(S), }
An enum describing whether to break
or continue
a loop_fn
loop.
Variants
Break(T)
Indicates that the loop has completed with output T
.
Continue(S)
Indicates that the loop function should be called again with input
state S
.